1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Implemented caching of image links on disk

This commit is contained in:
Krateng
2019-02-16 16:42:45 +01:00
parent 80686fd4e1
commit 6540af0e55
4 changed files with 27 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ def shutdown():
graceful_exit()
def graceful_exit(sig=None,frame=None):
urllib.request.urlopen("http://localhost:" + str(DATABASE_PORT) + "/sync")
urllib.request.urlopen("http://[::1]:" + str(DATABASE_PORT) + "/sync")
log("Server shutting down...")
os._exit(42)