Yarn

Recent twts in reply to #c5tzt7a

Hi @prologic@twtxt.net, question regarding responsible use of twtxt.net’s services. How much is “too intensive” an use of its endpoints? For eg, an “every minute” fetch of a twt feed is considered OK? (I honestly have no idea about the default frequency of communication between pods and all that…)

⤋ Read More

@marado@twtxt.net Hey ! 👋 Good question! Right now the default fetch interval is 5m and I believe there is a hard-coded minimum of 1m:

$ yarnd --help 2>&1 | grep interval
      --fetch-interval string         cache fetch interval (how often to update feeds) in cron syntax (https://pkg.go.dev/github.com/robfig/cron) (default "@every 5m")

However, Pods actually also utilise WebSub between each other to subscribe to each other’s feeds. So fetches can be near real-time without having to have an aggressive fetch interval.

We should have promoted the WebSub feature in the recent v0.15.x release but I forgot to 😅

Add websub to your “Operational Features” in the Web UI or --enable-feature websub until we do:

$ yarnd --help 2>&1 | grep feature
      --enable-feature feature        enable the named feature

Also, thanks for your PR! 🙏

⤋ Read More

Participate

Login to join in on this yarn.