vortexpy 4.3.9__tar.gz → 4.3.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vortexpy-4.3.9 → vortexpy-4.3.10}/PKG-INFO +1 -1
- {vortexpy-4.3.9 → vortexpy-4.3.10}/pyproject.toml +1 -1
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServer.py +9 -2
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/__init__.py +1 -1
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/PKG-INFO +1 -1
- {vortexpy-4.3.9 → vortexpy-4.3.10}/README.md +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/TwistedDeferredTimeout.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_http_upgraded_websocket_ping_client.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_http_upgraded_websocket_ping_server.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_http_upgraded_websocket_rpc_test_client.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_http_upgraded_websocket_rpc_test_server.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_websocket_rpc_test_client.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/run_websocket_rpc_test_server.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/setup_example_logging.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/example/store_and_load_json.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/setup.cfg +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/DataWrapTuple.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/DeferUtil.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/DeferUtil_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/Jsonable.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/MtlsAuthorizedClientRegistry.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/MtlsAuthorizedClientRegistry_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/MtlsServerSslOptions.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/Payload.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadEndpoint.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadEndpointTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadEnvelope.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadFilterKeys.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadIO.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadPriority.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadResponse.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadResponseTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadResponse_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PayloadTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/PerformTestActionTuple.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/SerialiseUtil.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/SerialiseUtil_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TestTuple.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/Tuple.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleAction.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleBson.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleBson_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleDataForTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleDocumentConverter.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TuplePerfTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TuplePolymorphicTupleTypeFieldArgTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleRestful.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleRestful_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleSelector.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/TupleTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexAccessControlContextABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexAuthenticatorABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexClientHttp.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexClientHttpTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexClientTcp.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexClientWebsocketFactory.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexConnectionABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexEndpointPermission.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexFactory.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexFactory_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexPayloadProtocol.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexPermission.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexPermissionError.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerConnection.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerConnection_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerHttpResource.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerTcp.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerWebsocket.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServerWebsocket_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexServer_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexSession.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexSession_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexTcpMemoryLeakPayloadTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexTcpMemoryLeakRawTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexUtil.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexWritePushProducer.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/VortexWritePushProducer_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/TupleDataLiveLockManager.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/TupleDataLoader.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/TupleDataLoaderDelegate.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/TupleDataLoaderTupleABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/TupleDataLoaderTuples.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/data_loader/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/event_bus/TupleChangeEventABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/event_bus/TupleChangeEventBus.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/event_bus/TupleChangeEventBusObserverABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/event_bus/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionProcessor.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionProcessorProxy.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionProcessorTestHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionProcessor_shutdown_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionPushOffline.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleActionPushOffline_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataAccessGranterABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataActionClient.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableCache.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableCache_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableHandler_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableProxyHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableProxyHandler_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObservableTestHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataObserverClient.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/TupleDataProviderABC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/VortexJSTupleLoaderTestHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/handler/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/mypy_plugin.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/payload_many_tuples_benchmark_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/py.typed +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/GzippedDataHttpClient.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/GzippedDataHttpClientTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/GzippedPayloadHttpClient.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/RestfulHttpClient.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/RestfulResource.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/restful_http_client_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/restful/restful_resource_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/rpc/RPC.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/rpc/RPCTest.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/rpc/RPC_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/rpc/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/sqla_orm/OrmCrudHandler.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/sqla_orm/TupleProviderForDb.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/sqla_orm/VortexTupleJson.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/sqla_orm/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/storage/TupleActionStorageSqlite.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/storage/TupleStorageSqlite.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/storage/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/__init__.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/constants.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/json_schema_node_tuple.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/tuple_json_schema_builder.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/tuple_json_schema_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/tuple_json_schema_test_tuples.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_test_fixtures.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/twisted_runtime_metrics.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/twisted_runtime_metrics_test.py +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/SOURCES.txt +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/dependency_links.txt +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/entry_points.txt +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/requires.txt +0 -0
- {vortexpy-4.3.9 → vortexpy-4.3.10}/vortexpy.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vortexpy"
|
|
7
|
-
version = "4.3.
|
|
7
|
+
version = "4.3.10"
|
|
8
8
|
license = {text = "MIT"}
|
|
9
9
|
authors = [{name = "Flying Ion Pty Ltd", email = "contact@flyingion.com"}]
|
|
10
10
|
description = "Flying Ion's observable, routable, data serialisation and transport code."
|
|
@@ -43,7 +43,10 @@ VortexServer
|
|
|
43
43
|
"""
|
|
44
44
|
|
|
45
45
|
HEART_BEAT_PERIOD = 10.0
|
|
46
|
-
|
|
46
|
+
# Browser background-tab timer throttling (Chrome intensive wake-up throttling)
|
|
47
|
+
# can reduce a hidden tab's client heartbeats to one per minute; 75s gives one
|
|
48
|
+
# full missed-beat margin over that 60s cadence before the connection is closed.
|
|
49
|
+
HEART_BEAT_TIMEOUT = 75.0
|
|
47
50
|
|
|
48
51
|
|
|
49
52
|
class VortexServer(VortexABC):
|
|
@@ -362,7 +365,11 @@ class VortexSessionI(Interface):
|
|
|
362
365
|
@implementer(VortexSessionI)
|
|
363
366
|
class VortexSession(object):
|
|
364
367
|
def __init__(self, session):
|
|
365
|
-
session
|
|
368
|
+
# Never shorten a configured session timeout: the heartbeat floor
|
|
369
|
+
# applies only when the app (or Twisted default) allows less.
|
|
370
|
+
# Shortening here expires active operator sessions when browser
|
|
371
|
+
# background-tab timer throttling delays heartbeats past 60s.
|
|
372
|
+
session.sessionTimeout = max(session.sessionTimeout, HEART_BEAT_TIMEOUT)
|
|
366
373
|
self.connections = {}
|
|
367
374
|
|
|
368
375
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vortexpy-4.3.9 → vortexpy-4.3.10}/vortex/tuple_json_schema/tuple_json_schema_test_tuples.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|