Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big Refactor #57

Closed
wants to merge 4 commits into from
Closed

Big Refactor #57

wants to merge 4 commits into from

Conversation

Alextopher
Copy link
Member

This PR replaces #48

  • merges random subprojects into this repo
  • move config file handling into it's own module
  • remove most placeholders
  • interface based aggregators (more stable and easier to add more)
  • interface based and context aware scheduling (needs a bit more work)
  • updates dependencies
  • adds more CI
  • remove broken webserver caching
  • go 1.21

Second pass:

  • logging: remove Panic
  • moved aggregator logic to it's own module
  • scheduler: now returns an error if any task setup fails
  • scheduler: will create /var/log/mirror if it doesn't exist
  • live map: websocket messages are now grouped by time instead of by a fixed number
  • config: moved "rsyncd.conf" generation into its own file
  • influxdb api connection is no longer a global variable
  • map.js: improved the code clarity and performance a little bit

- moved aggregator logic to it's own module
- scheduler: now returns an error if _any_ task setup fails
- scheduler: will create `/var/log/mirror` if it doesn't exist
- live map: websocket messages are now grouped by time instead of by a fixed number
- config: moved "rsyncd.conf" generation into its own file
- influxdb api connection is no longer a global variable
- map.js: improved the code clarity and performance a little bit
@Alextopher Alextopher closed this Jan 18, 2024
@Alextopher Alextopher mentioned this pull request Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant