Skip to content

Commit

Permalink
remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Dec 9, 2024
1 parent d5ad780 commit b3ff802
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions synapse/storage/databases/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@

logger = logging.getLogger(__name__)

ONE_HOUR_MS = 60 * 60 * 1000
ONE_DAY_MS = 24 * ONE_HOUR_MS


class DatabaseCorruptionError(RuntimeError):
"""We found an event in the DB that has a persisted event ID that doesn't
Expand Down
3 changes: 0 additions & 3 deletions tests/rest/admin/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@
from tests.test_utils import SMALL_PNG
from tests.unittest import override_config

ONE_HOUR_MS = 60 * 60 * 1000
ONE_DAY_MS = 24 * ONE_HOUR_MS


class UserRegisterTestCase(unittest.HomeserverTestCase):
servlets = [
Expand Down

0 comments on commit b3ff802

Please sign in to comment.