Mercurial > libervia-web
view libervia/__init__.py @ 1505:a169cbc315f0
server: don't wait anymore for libervia app to be fully started:
following change in backend, libervia app are started and the loading workflow continue
immediately, the proxy is created only when the app is known to be actually started
(through the `application_started` signal or a flag received when starting the
application).
This avoid stopping the loading of website for a long time, or breaking when a timeout is
reached.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 04 Mar 2023 18:37:17 +0100 |
parents | ac2374c92294 |
children |
line wrap: on
line source
import os.path version_file = os.path.join(os.path.dirname(__file__), "VERSION") with open(version_file) as f: __version__ = f.read().strip()