Mercurial > libervia-web
annotate 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 |
rev | line source |
---|---|
1124
28e3eb3bb217
files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents:
861
diff
changeset
|
1 import os.path |
28e3eb3bb217
files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents:
861
diff
changeset
|
2 |
28e3eb3bb217
files reorganisation and installation rework:
Goffi <goffi@goffi.org>
parents:
861
diff
changeset
|
3 version_file = os.path.join(os.path.dirname(__file__), "VERSION") |
1439 | 4 with open(version_file) as f: |
5 __version__ = f.read().strip() |