alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
2
Pulls
1
Pipelines
core
/
eventconsumer
1 folder
3 files
at
56942fea8ec57985db36f4f36149e67a0e4a314c
oppiliappan
eventconsumer: rework retry mechanism
1y ago
037bdc4c
cursor
eventconsumer: extract knotclient/events into its own package Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
consumer.go
eventconsumer: rework retry mechanism the previous retry mechanism had a slight flaw: successful connections did not reset the exponent on the retry interval. this results in constantly growing retry intervals: attempt #1 - wait 5s attempt #2 - wait 10s attempt #3 - success! . . . disconnect attempt #4 - wait 20s what we want to see however, is a pattern like so: attempt #1 - wait 5s attempt #2 - wait 10s attempt #3 - success! . . . disconnect attempt #1 - wait 5s this is solved by slapping the retry logic around DialConnection, which is a more atomic point of connection attempt. retry logic is also offloaded to the github.com/avast-go/retry package Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
knot.go
eventconsumer: extract knotclient/events into its own package Signed-off-by: oppiliappan <me@oppi.li>
1 year ago
spindle.go
eventconsumer: extract knotclient/events into its own package Signed-off-by: oppiliappan <me@oppi.li>
1 year ago