Skip to content

Commit e67474d

Browse files
committed
Add note regarding necessity for update to be fast
1 parent 20722ef commit e67474d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nexus_sync_operations/handler/service_handler.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ async def get_language(
6969
return await self.greeting_workflow_handle.query(GreetingWorkflow.get_language)
7070

7171
# 👉 This is a handler for a nexus operation whose internal implementation involves executing an
72-
# update against a long-running workflow that is private to the nexus service.
72+
# update against a long-running workflow that is private to the nexus service. Although updates
73+
# can run for an arbitrarily long time, when exposing an update via a nexus sync operation the
74+
# update should execute quickly (sync operations must complete in under 10s).
7375
@nexusrpc.handler.sync_operation
7476
async def set_language(
7577
self,

0 commit comments

Comments
 (0)