Update competitions/utils.py
Browse files- 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 *
|
| 736 |
-
# If the space is older than
|
| 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,
|