Skip to content

Commit

Permalink
fix python>=3.9 apscheduler interpreter shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCXC committed Dec 23, 2024
1 parent c125609 commit bd7d6b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dtable_events/app/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
import time

from dtable_events.activities.handlers import MessageHandler
from dtable_events.app.stats_sender import StatsSender
from dtable_events.statistics.counter import UserActivityCounter
Expand Down Expand Up @@ -107,3 +109,6 @@ def serve_forever(self):
self._virus_scanner.start() # default False
# convert pdf manager
conver_page_to_pdf_manager.start() # always True

while True:
time.sleep(60)

0 comments on commit bd7d6b3

Please sign in to comment.