b00ce6d799
Merge remote-tracking branch 'bsky-mirror/main'
2024-11-14 18:07:10 +00:00
Max Ignatenko
bad22e6422
fix: s/LastSuccess/LastCompletion/ and use it as orignally intended
2024-11-14 12:44:42 +00:00
Max Ignatenko
04ab6167c7
fix: use LastRecordTimestamp in serve() instead of LastSuccess
2024-11-14 12:36:39 +00:00
Max Ignatenko
b26866fe0c
fix: update lastSuccessTimestamp after each request too
...
Updating only in run() can be delayed arbitrarily long under load.
2024-11-14 12:34:13 +00:00
Max Ignatenko
2c6a7201ef
fix: actually store the queried timestamp in the struct
2024-11-14 12:17:01 +00:00
Max Ignatenko
04f2f80a06
fix: keep the timestamp of last record in memory instead of querying the DB every time
2024-11-13 18:56:22 +00:00
Max Ignatenko
80128ebcff
fix: change lower bound 1 -> 0.1
2024-10-27 12:23:59 +00:00
Max Ignatenko
f379f6b4b4
fix: tweak histogram buckets
2024-10-27 12:21:59 +00:00
Max Ignatenko
d0fd66f83f
feature: a few exported metrics
2024-10-26 21:31:44 +01:00
add8ffc1c4
Update cmd/plc-mirror/Dockerfile
2024-10-26 03:50:41 +02:00
90370ef60b
Update cmd/plc-mirror/serve.go
2024-10-25 23:58:58 +02:00
49182413f0
Update cmd/plc-mirror/mirror.go
2024-10-25 23:58:45 +02:00
4432fcea80
Update cmd/plc-mirror/main.go
2024-10-25 23:58:25 +02:00
Max Ignatenko
9f29e6cc24
Rename module and run go mod tidy
2024-09-25 22:05:40 +01:00
Max Ignatenko
56727bbe11
fix: properly install curl
2024-09-07 19:36:48 +01:00
Max Ignatenko
db74fac7d0
feature: add plc-mirror healthcheck
2024-09-07 13:48:19 +01:00
Max Ignatenko
19a21ad3a9
feature: skip unnecessary recompilation in some cases
2024-09-07 11:47:15 +01:00
Max Ignatenko
e986d370ec
go get -u ./...
2024-05-21 11:41:42 +01:00
Max Ignatenko
c364822818
Tweak rate limit a little bit
2024-04-14 13:07:24 +01:00
Max Ignatenko
bc24c23afc
Switch to batch inserts
2024-04-14 12:45:05 +01:00
Max Ignatenko
c5f3a55ac8
Add a target for waiting until PLC mirror catches up
2024-04-13 19:42:36 +01:00
Max Ignatenko
d6b5850827
Add plc mirror
...
If you want to avoid sending all requests to https://plc.directory while
it's catching up for the first time, do
`docker compose up -d --build plc` and wait for it to catch up before
updating all other containers.
2024-04-13 16:45:02 +01:00