MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / _poll_interval

Function _poll_interval

tests/conftest.py:75–77  ·  view source on GitHub ↗

Return polling interval: 200ms for real DynamoDB, 20ms for ExtendDB.

()

Source from the content-addressed store, hash-verified

73
74
75def _poll_interval() -> float:
76 """Return polling interval: 200ms for real DynamoDB, 20ms for ExtendDB."""
77 return 0.2 if _is_real_dynamodb() else 0.02
78
79
80def wait_for_active(client, table_name: str, timeout: float = 120.0) -> None:

Callers 7

_wait_for_stream_recordsFunction · 0.90
test_latestMethod · 0.90
wait_for_activeFunction · 0.85
wait_for_deletedFunction · 0.85

Calls 1

_is_real_dynamodbFunction · 0.85

Tested by

no test coverage detected