Skip to content

Commit

Permalink
rewrite state logic of gtp_path
Browse files Browse the repository at this point in the history
* Move set of active context from state to data. Keeping them in there
  was not the best idea. Matching on set changes is better done by
  just keeping the count in there.
* Convert active context set to map. This allos us to stroe the monitoring
  key and demonitor them properly.
* Rework to Restart Counter change logic. now a restart counter change
  changes the state immediatly and processes all further GTP requests
  (incl. the one that triggered the RC change) in the new state.
  • Loading branch information
RoadRunnr committed Jul 30, 2020
1 parent 4f3941d commit d52829b
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 131 deletions.

0 comments on commit d52829b

Please sign in to comment.