sassoftware / sassoftware/python-swat

Set action timeout

Open
#114 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.