Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 140
    • Issues 140
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #483

Closed
Open
Opened Dec 22, 2022 by Przemyslaw Kaminski@cgenie
  • Report abuse
  • New issue
Report abuse New issue

Stop fetching tasks when error is encountered

Currently, when debugging haskell-gargantext#161 (closed) I encounter an issue that when some async task is running in the backgroud and a backend error appears, the GET timer for task is not cleared. Hence the frontend can keep asking indefinitely for a broken task. I think this should be solved in some way: maybe implement a backoff (i.e. wait 1 second, if error then 2 seconds, if error then 4, if error then 8 etc) or just keep asking for erronous task a predefined number of times and no more (e.g. 3)?

Easy way to reproduce this is to start search, then kill server: the frontend will keep asking its GET requests.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#483