diff --git a/relay/application.py b/relay/application.py index 5395dca..361c0cc 100644 --- a/relay/application.py +++ b/relay/application.py @@ -113,6 +113,7 @@ class Application(web.Application): logging.info(f'Starting webserver at {self.config.host} ({self.config.listen}:{self.config.port})') asyncio.run(self.handle_run()) + self.database.disconnect() def stop(self, *_): diff --git a/requirements.txt b/requirements.txt index 382d935..93d38b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ aputils@https://git.barkshark.xyz/barkshark/aputils/archive/0.1.3.tar.gz cachetools>=5.2.0 click>=8.1.2 pyyaml>=6.0 -tinysql[postgres,mysql]@https:/git.barkshark.xyz/barkshark/tinysql/archive/0.1.0.tar.gz +tinysql[postgres,mysql]@https://git.barkshark.xyz/barkshark/tinysql/archive/0.1.0.tar.gz