Skip to content

Commit

Permalink
Update server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lamoboos223 authored Jan 8, 2025
1 parent 800e050 commit ad45c86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
from synapse.util.ratelimitutils import FederationRateLimiter
from synapse.util.stringutils import random_string
from synapse.util.task_scheduler import TaskScheduler
from synapse.util.synapse_ascii import get_logo

logger = logging.getLogger(__name__)

Check failure on line 160 in synapse/server.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (I001)

synapse/server.py:28:1: I001 Import block is un-sorted or un-formatted

Expand Down Expand Up @@ -355,6 +356,7 @@ def get_instance_name(self) -> str:

def setup(self) -> None:
logger.info("Setting up.")
logger.info(get_logo(self.version_string))
self.start_time = int(self.get_clock().time())
self.datastores = Databases(self.DATASTORE_CLASS, self)
logger.info("Finished setting up.")
Expand Down

0 comments on commit ad45c86

Please sign in to comment.