Commit Graph

35 Commits

Author SHA1 Message Date
c9543e7a83
Problem: feeds are fetched every hour and haven't changed, or have changed often
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Solution: implement histogram buckets for feed polling

The feeds are now implemented in tiers. The tier is the bucket the feed
is in. To calculate the minutes to wait for when to fetch the next feed,
you add 2**tier minutes to the current time.
The feeds to fetch are filter by this time.
2022-04-16 14:55:22 +02:00
90074d28d6
Problem: licenses in files are not regular
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Paste license on top of all files. This does not change the
license. It was already licensed as GPLv3.
2021-11-20 22:26:39 +01:00
c47a7f7f2a
Problem: resubscribe_at can be nil
All checks were successful
continuous-integration/drone/push Build is passing
Solution: allow nil values in resubscribe_at
2021-11-20 22:07:38 +01:00
9c8cec2c5b
Problem: error values are ignored
Solution: handle error values
2021-11-20 21:26:06 +01:00
892a9cec72
Problem: memorybackend is a hubbackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: memorybackend has a hubbackend
2021-11-10 23:15:45 +01:00
a75bbb2551
Problem: HubBackend depends on ProcessContent in memorybackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Create interface for memorybackend and depend on that.
2021-11-10 22:53:51 +01:00
5d5ee63d68
Problem: hubBackend database is dependent on memoryBackend
Solution: remove the dependency between on the database in memoryBackend
2021-11-10 22:44:22 +01:00
f9c9455389
Only returns feeds with hubs
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-01 23:19:46 +01:00
a183b26312
Remove unused column in scan
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 22:46:32 +01:00
33e58ebe9e
Fix pointer in Scan
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:55:19 +01:00
198d18fe17
Use one more argument for leaseSeconds
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:16:49 +01:00
a38d2147bf
Fix order of arguments
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 15:16:53 +01:00
21c226ce56
Re-enable CreateFeed for WebSub
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 15:04:26 +01:00
26b85152fd
Move subscriptions to database 2021-10-31 14:24:41 +01:00
64ae959670
Use database backend instead of backend.json 2021-10-31 01:37:39 +02:00
53b4e748c3
Replace HPUT with HSET
HPUT is not a Redis command
2019-08-17 22:07:53 +02:00
0f9e3043ef
Use map instead of separate vars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 14:02:23 +01:00
312ef8b873
Remove publishing of expvars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 13:58:11 +01:00
6d51145dad
Add debug vars
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-24 13:55:46 +01:00
76819ac804
Remove global variable pool and replace fetcher with func
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-23 18:23:56 +01:00
414d2cb78e
Cleanup relative callback urls
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-20 10:28:10 +01:00
ca146fe5a0
Improve more errors and logs
All checks were successful
continuous-integration/drone/push Build is passing
2019-03-19 22:09:55 +01:00
1e0f192ab4
Cleanup errors and documentation
Some checks failed
continuous-integration/drone/push Build is failing
2019-03-19 21:55:07 +01:00
084888880b
Don't resubscribe at feeds without Hub 2018-12-18 20:14:59 +01:00
34133191fc
Cleanup (parse category better)
All checks were successful
the build was successful
2018-12-18 19:40:56 +01:00
5dcb64cc28
Handle error from ProcessContent in HubBackend
All checks were successful
the build was successful
2018-12-09 17:59:06 +01:00
d93530a237
Remove os.GetEnv call 2018-12-09 17:57:16 +01:00
507aff683e
Use gomodule version of redis library 2018-08-15 19:04:15 +02:00
41c079b871
Add more debug logging for WebSub
All checks were successful
the build was successful
2018-08-05 21:02:10 +02:00
c1f2b7a5a7 Add missing license matters
All checks were successful
the build was successful
2018-07-28 18:03:21 +02:00
af3e90c964 Move from github.com/pstuifzand to p83.nl/go/ekster
All checks were successful
the build was successful
2018-07-28 17:52:59 +02:00
cad14ac461 Fix command for getting list of feeds for WebSub 2018-07-11 10:56:32 +02:00
2c6f421e3e Set resubscribe_at as unix time 2018-07-07 20:51:02 +02:00
97a98bbfed Cleanup subscribing and feeds
Add ID and URLs to feed, so we can easily resubscribe later
2018-07-07 20:14:46 +02:00
e8796eae5a Extract hubbackend.go 2018-07-07 17:59:41 +02:00