<commit_before>from datetime import timedelta
from uuid import uuid4 as uuid
from redis import StrictRedis
from redis.exceptions import ConnectionError
import bleach

__REDIS_HOST__ = 'localhost'
__REDIS_PORT__ = 6379

class WallException(Exception):
	def __init__(self, value):
		self.value = value
	def __str__(self):
		return repr(self.value)

class WallMessage:
	def __init__(self, prefix='msg', timeout=timedelta(minutes=1)):
		self.prefix = prefix
		self.timeout = timeout
		self.r = StrictRedis(__REDIS_HOST__, port=__REDIS_PORT__)

	def post(self, message):<commit_msg>Set message timeout back to 60<commit_after>from datetime import timedelta
from uuid import uuid4 as uuid
from redis import StrictRedis
from redis.exceptions import ConnectionError
import bleach

__REDIS_HOST__ = 'localhost'
__REDIS_PORT__ = 6379

class WallException(Exception):
	def __init__(self, value):
		self.value = value
	def __str__(self):
		return repr(self.value)

class WallMessage:
	def __init__(self, prefix='msg', timeout=timedelta(minutes=60):
		self.prefix = prefix
		self.timeout = timeout
		self.r = StrictRedis(__REDIS_HOST__, port=__REDIS_PORT__)

	def post(self, message):
{'fraction_non_alphanumeric': 0.08454312553373185, 'fraction_numerical': 0.012809564474807857, 'mean_word_length': 6.0602409638554215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3477039', 'n_tokens_mistral': 399, 'n_tokens_neox': 377, 'n_words': 106}