summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2023-08-23 13:46:51 -0600
committerBen Busby <contact@benbusby.com>2023-08-23 13:46:51 -0600
commit7e47e9536aa347d8a0ea24dfef3c034ad50d9a76 (patch)
tree39144a2cce1df66499d160a22541a24ce60e0381 /lib
parentcc1a04099122cee88ffaf9eb1bde14ad826f686c (diff)
downloadfarside-7e47e9536aa347d8a0ea24dfef3c034ad50d9a76.tar.gz
Poll nitter instances only in nightly build
From the recent changes to twitter/X, it sounds like guest accounts are now required for nitter, which are more easily rate limited. To avoid any impact from Farside, the instances are now health checked in the nightly build using https://status.d420.de (this doesn't seem to be directly associated with the nitter maintainers, so might not be entirely future-proof).
Diffstat (limited to 'lib')
-rw-r--r--lib/farside/instances.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/farside/instances.ex b/lib/farside/instances.ex
index d02a082..d0d26f6 100644
--- a/lib/farside/instances.ex
+++ b/lib/farside/instances.ex
@@ -7,9 +7,9 @@ defmodule Farside.Instances do
@debug_header "======== "
@debug_spacer " "
- # SearXNG instance uptimes are inspected as part of the nightly Farside build,
+ # These instance uptimes are inspected as part of the nightly Farside build,
# and should not be included in the constant periodic update.
- @skip_service_updates ["searxng"]
+ @skip_service_updates ["searxng", "nitter"]
def sync() do
File.rename(@update_file, "#{@update_file}-prev")