Skip to content

Frontier UI 1.3.3 - gentler photo lookups

Latest

Choose a tag to compare

@Jumbomuffin777 Jumbomuffin777 released this 09 Nov 13:57

Gentler on the free photo services. Thanks to @nnraiden for the excellent suggestion in #3: this release is built straight from it.

  • Retry-After is honoured: when Wikimedia, Openverse or another provider answers 429 or 503, it is left alone for the time it asks (or a short default), and that cooldown is shared by every card and gallery instead of being retried in a burst.
  • Wikimedia one request at a time: Wikipedia and Commons share one queue and one cooldown.
  • Fallback searches run one after another, most specific first, and stop as soon as a photo has enough candidates. Each photo makes at most 10 provider requests, fallbacks included.
  • Repeated searches are asked once: two tiles looking for the same thing share one lookup, and an empty answer is remembered for two minutes.
  • 5 new regression tests (37/37 passing). The keyless defaults are unchanged.

Update: replace the tool with the new frontier_ui.py (Workspace → Tools), or paste it over the old one.