Compare commits

..

2 Commits

Author SHA1 Message Date
cuddle-please
3359326061 chore(release): 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-06 22:21:14 +00:00
86a32513cc
chore: add more specific log for when leader is acquired
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-06 23:20:52 +01:00
3 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- orbis demo - orbis demo
### Other ### Other
- add more specific log for when leader is acquired
- add basic leader election on top of postgres - add basic leader election on top of postgres
- add orbis demo - add orbis demo

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -69,6 +69,7 @@ func (s *Scheduler) acquireLeader(ctx context.Context) (bool, error) {
continue continue
} }
s.logger.Info("acquired lock, electing application to leader")
return true, nil return true, nil
} }