Comments (5)
I wonder if it's right to attach this timeout to the thing being called rather than use a scope?
await withTimeout(1000, async() => {
await activity1();
});
from eventual.
How will these be implemented? Will it always use a scheduled event to wake up the caller's orchestrator? Or is it case by case?
from eventual.
We will allow the configuration of two different timeouts on the child workflow to handle the ambiguity.
Why is this extra complexity needed?
from eventual.
I wonder if it's right to attach this timeout to the thing being called rather than use a scope?
await withTimeout(1000, async() => { await activity1(); });
This would definitely work and would allow be arbitrary timeout scopes.
I think doing the same for retry would be little more complex because the workflow would need to be involved instead of just a retry loop around the activity/workflow.
So we'll likely end up with activity/workflow call level timeout for both? Or maybe retry just stays at the definition level?
from eventual.
Being able to programatically specify the timeout of an activity when calling it is necessary.
- set timeout when calling an activity
- set timeout when returning
asyncResult
from activity?
from eventual.
Related Issues (20)
- Secret Support
- ECS-backed Task
- Bug: Some Errors don't normalize correctly
- Local: Support Logs CLI command
- Bug(local): Errors in handlers crash the server
- Entity Streams don't log errors
- Feat: Transactions should be able to run inline in handlers HOT 4
- Local not restoring Set data type in Entity HOT 1
- Local server not exiting on Ctrl+C
- Local crashes when restoring: "connection doesn't exist" for web sockets HOT 1
- Local numeric sort key does not deserialize properly
- Seamless integration with Frontend Frameworks
- [Local] Compute missing local entity indices on load for existing data
- Configure Compliance Controls
- We should list the names of the services when `eventual get service` errors
- Fix dependabot issues
- Feat: Add abort signal to client
- Workflow stuck when task execution crashes
- Entity attributes do not support z.custom()
- tsbuildinfo cache files are published to npm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eventual.