We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wouldn't it be interesting to set a TTL on detector data
def put_detector_data(self, path, data): key = self.__detector_key_for(path) self.get_storage().set(key, json.dumps(data))
as it was done on put
def put(self, path, bytes): storage = self.get_storage() storage.set(path, bytes) storage.expireat( path, datetime.now() + timedelta( seconds=self.context.config.STORAGE_EXPIRATION_SECONDS ) )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
wouldn't it be interesting to set a TTL on detector data
as it was done on put
The text was updated successfully, but these errors were encountered: