Add state
For now it's just ephemeral. Instead of disabling the timeout (-1), it's set to 1 ms for all requests in the state paths test. Otherwise race condistion may occur. Symptoms include incorrect state name, because it may have been read before it's fully written to the store.
Showing
- README.md 96 additions, 0 deletionsREADME.md
- main.go 8 additions, 1 deletionmain.go
- routing/routes.go 127 additions, 1 deletionrouting/routes.go
- routing/routes_test.go 120 additions, 7 deletionsrouting/routes_test.go
- state/ephemeral.go 70 additions, 0 deletionsstate/ephemeral.go
- state/item.go 30 additions, 0 deletionsstate/item.go
- state/store.go 12 additions, 0 deletionsstate/store.go
Loading
Please register or sign in to comment