Remove unneeded await statements

This commit is contained in:
Ben 2019-04-11 01:04:28 +01:00
parent 5b8b574198
commit dddeeeed99

View File

@ -122,8 +122,8 @@ class HoudiniFactory:
self.config.redis['Address'], self.redis['Port']), self.config.redis['Address'], self.redis['Port']),
minsize=5, maxsize=10) minsize=5, maxsize=10)
await self.redis.delete('{}.players'.format(self.server_name)) self.redis.delete('{}.players'.format(self.server_name))
await self.redis.delete('{}.population'.format(self.server_name)) self.redis.delete('{}.population'.format(self.server_name))
self.cache = SimpleMemoryCache(namespace='houdini', ttl=self.server_config['CacheExpiry']) self.cache = SimpleMemoryCache(namespace='houdini', ttl=self.server_config['CacheExpiry'])