sassoftware / sassoftware/python-swat
Set action timeout
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 159
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I noticed that sometimes when an action is launched on the cas server, it may stop responding and the action remains running forever. I believe this is an issue with the cas server itself and has nothing to do with swat, however I was wandering whether it is possible to set a global timeout for all cas actions spawned from swat, so that if an action lasts more than a given time (i.e. 1 hour) it is aborted and an exception is raised. Is that possible?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file or test. Start by tracing how SWAT launches CAS actions and where action completion or errors are handled; determine where a global timeout could apply. Done means an action exceeding the configured duration is aborted and raises an exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100