Skip to content

Commit 8fe70e5

Browse files
author
Matias Melograno
committed
removed expiration from recorder
1 parent a597d0b commit 8fe70e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

splitio/recorder/recorder.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ def record_treatment_stats(self, impressions, latency, operation):
135135
# result = pipe.execute()
136136
# if len(result) == 2:
137137
# self._impression_storage.expire_key(result[0], len(impressions))
138-
result = self._impression_storage.put(impressions)
139-
if len(result) == 2:
140-
self._impression_storage.expire_key(result[0], len(impressions))
138+
self._impression_storage.put(impressions)
141139
except Exception: # pylint: disable=broad-except
142140
_LOGGER.error('Error recording impressions')
143141
_LOGGER.debug('Error: ', exc_info=True)

0 commit comments

Comments
 (0)