Peter Stuifzand
c9543e7a83
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. |
||
---|---|---|
.. | ||
000001_create_channels_table.down.sql | ||
000001_create_channels_table.up.sql | ||
000002_create_feeds_table.down.sql | ||
000002_create_feeds_table.up.sql | ||
000003_add_default_channels.down.sql | ||
000003_add_default_channels.up.sql | ||
000004_create_items_table.down.sql | ||
000004_create_items_table.up.sql | ||
000005_alter_items_add_feed_id.down.sql | ||
000005_alter_items_add_feed_id.up.sql | ||
000006_create_subscriptions_table.down.sql | ||
000006_create_subscriptions_table.up.sql | ||
000007_alter_table_add_feed_tier.down.sql | ||
000007_alter_table_add_feed_tier.up.sql |