hyzhou404 commited on
Commit
03d4a14
·
verified ·
1 Parent(s): 1d97728

Update competitions/utils.py

Browse files
Files changed (1) hide show
  1. competitions/utils.py +2 -2
competitions/utils.py CHANGED
@@ -732,8 +732,8 @@ class SpaceCleaner:
732
  )
733
  return
734
 
735
- if (datetime.now(timezone.utc) - space_info.created_at).total_seconds() > 60 * 60 * 1.5:
736
- # If the space is older than 1.5 hours, delete it
737
  self.delete_space(space_id)
738
  submission_api.update_submission_data(
739
  team_id=team_id,
 
732
  )
733
  return
734
 
735
+ if (datetime.now(timezone.utc) - space_info.created_at).total_seconds() > 60 * 60 * 3:
736
+ # If the space is older than 3 hours, delete it
737
  self.delete_space(space_id)
738
  submission_api.update_submission_data(
739
  team_id=team_id,