Compare commits
2 Commits
48414eb297
...
4ee4d6a0a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
4ee4d6a0a4
|
|||
|
d418e2d9dc
|
@@ -9,6 +9,7 @@ from my_modules.app.constens import SECRET_KEY, THE_IP_BOT_MANAGER
|
|||||||
from my_modules.OrphanStorageIdRegistry import OrphanStorageIdRegistry
|
from my_modules.OrphanStorageIdRegistry import OrphanStorageIdRegistry
|
||||||
from my_modules.AsyncCache import AsyncCache
|
from my_modules.AsyncCache import AsyncCache
|
||||||
from my_modules.app.logger import logger
|
from my_modules.app.logger import logger
|
||||||
|
from quart_common.web.request import TRUST_PROXY_HEADERS, TRUSTED_PROXY_IPS, TRUSTED_PROXY_CIDRS
|
||||||
from quart_common.web.wide_event import register_wide_event_logging
|
from quart_common.web.wide_event import register_wide_event_logging
|
||||||
|
|
||||||
from my_helpers.db.convex.ConvexRuntime import ConvexRuntime
|
from my_helpers.db.convex.ConvexRuntime import ConvexRuntime
|
||||||
@@ -104,6 +105,12 @@ app.orphan_storage_registry = OrphanStorageIdRegistry(
|
|||||||
|
|
||||||
@app.before_serving
|
@app.before_serving
|
||||||
async def init_convex():
|
async def init_convex():
|
||||||
|
await logger.info(
|
||||||
|
f"Proxy trust config | trust_headers={TRUST_PROXY_HEADERS} "
|
||||||
|
f"trusted_proxy_ips={sorted(TRUSTED_PROXY_IPS)} "
|
||||||
|
f"trusted_proxy_cidrs={[str(network) for network in TRUSTED_PROXY_CIDRS]}"
|
||||||
|
)
|
||||||
|
|
||||||
await convex_runtime.start()
|
await convex_runtime.start()
|
||||||
app.convex = ConvexDB(runtime=convex_runtime)
|
app.convex = ConvexDB(runtime=convex_runtime)
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule quart_common updated: 77823f57d1...5b3cf7b59a
@@ -144,11 +144,11 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "certifi"
|
name = "certifi"
|
||||||
version = "2026.6.17"
|
version = "2026.7.22"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" },
|
{ url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
Reference in New Issue
Block a user