Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[*] Increase timeout

  • Loading branch information...
commit a170e081ff87a79846c04659cfb428bc2d174581 1 parent 104a6fe
Serge Travin authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 setwithme/apps/game/management/commands/clean_dead_games.py
View
6 setwithme/apps/game/management/commands/clean_dead_games.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.