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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user