Fix scheduler leaks memory for each client connection
@@ -101,6 +101,6 @@ def safe_sizeof(obj, default_size=1e6):
try:
return sizeof(obj)
except Exception:
- logger.warn('Sizeof calculation failed. Defaulting to 1MB',
+ logger.warning('Sizeof calculation failed. Defaulting to 1MB',
exc_info=True)
return int(default_size)
