Skip to content

Commit d95f052

Browse files
committed
Update objstore_factory.py
1 parent 14feeb1 commit d95f052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seafobj/objstore_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def get_seaf_cache(self):
285285
max_connections = self.cfg.get('redis', 'max_connections')
286286
else:
287287
max_connections = 20
288-
return get_redis_cache(host, port, expiry, max_connections)
288+
return get_redis_cache(host, port, expiry, int(max_connections))
289289

290290
if self.cfg.has_option('memcached', 'memcached_options'):
291291
mc_options = self.cfg.get('memcached', 'memcached_options')

0 commit comments

Comments
 (0)