'Should we store sessions in the database to avoid locking sessions on long-running requests?'

def get_base_session_db(self):

    result = self.base.get('session_db', False)
    if result:
        (db_string, pool_size) = self.get_database_string()
        if (db_string.find('sqlite') != (-1)):
            result = False
    return result
