Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
[*] Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Serge Travin committed Jul 31, 2011
1 parent 104a6fe commit a170e08
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setwithme/apps/game/management/commands/clean_dead_games.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
from game.models import Game, ClientConnectionState


LAST_SESSION_UPDATE_TIMEOUT = datetime.timedelta(minutes=2)
LAST_SESSION_UPDATE_TIMEOUT = datetime.timedelta(minutes=5)


class Command(BaseCommand):
help = """ Obtains twitter_id by screen_name for users from old DB
and updates twitter_id field """
args = 'old_db_name'
help = """ Cleans zombie games """

def handle(self, *args, **options):
cleaned_cnt = 0
Expand Down

0 comments on commit a170e08

Please sign in to comment.