from __future__ import unicode_literals LOCK_EXPIRE = 60 * 10 # Adjust to worst case scenario