we use cqueues, which is the async framework that lua-http is built on. we integrate it into the glib event loop rather hackily by calling the cqueues event stepper ever 20ms from a glib timeout function overpass has very low rate limits so we handle a 429 response by sleeping for a random length of time and retrying. This is, also, a bit of a hack |
||
---|---|---|
.. | ||
assert.fnl | ||
default.nix | ||
fake-nmea.fnl | ||
foo.nmea | ||
main.fnl | ||
Makefile | ||
nmea.fnl | ||
shell.nix | ||
tiles.fnl |