Automatically reload location page every 30 seconds

This commit is contained in:
Klaus-Uwe Mitterer 2018-02-11 10:59:49 +01:00
parent 7434fe5e87
commit 0aa1f1464e
2 changed files with 3 additions and 0 deletions

View file

@ -3,3 +3,5 @@ import multiprocessing
name = "PyGPS"
bind = "127.0.0.1:6957"
workers = multiprocessing.cpu_count() * 4
graceful_timeout = 600
timeout = 600

View file

@ -197,6 +197,7 @@ def application(env, re):
<link rel="stylesheet" href="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.css" />
<script src="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
<meta http-equiv="refresh" content="30" />
</head>
<body>