rareaf
rareaf copied to clipboard
Fixed intermittent errors at fetch time
We've detected intermittent errors through our tests, when consuming the testnet.
Seems that somehow the indexer gets overflown by too many parallel requests, and throws 503
errors at random.
To solve this, an await was added inside the loop.
Thanks! This would mean getting the listings is slower, since each would have to wait for the last to finish before it gets fetched.
Maybe some secondary loop that packs up promises 5 or 10 at a time depending?
Also, I've not had time recently to get to the frond end changes for this yet but the backend contracts are working for https://github.com/barnjamin/rareaf/tree/app-addr. They're vastly simplified but require Teal 6 (just merged to go-algorand/master but not on mainnet yet) since we need rekey inside the application.
That's a good idea! I'll look to pack requests to avoid slowness.
are you still going live with this barnjamin? ive reworked your UI into chakra and im going to be deploying a copy of your teal scripts.. and eventually mainnet.. any thing i should know on the teal side?
There is another branch that I've been working on to rework the logic, i'd wait until that is done to even consider going to mainnet
sweet which branch is that ? so i can watch it.. and i assume that's around the teal contracts specifically?
https://github.com/barnjamin/rareaf/tree/app-addr havent had time to finish it up
your a rock star either way in my book.. super awesome job!!
cheer m8 hope your doing well and still thinking of finishing those contracts.... if not I'd love to chat with you in discord or somewhere get an idea what you thought was left and i might just finish up your contracts myself depending.. let me know
just circiling back barnjamin i'd love to chat with you about that smart contract is there any way i can contact you directly.. im local too btw next state over!!! like 2hrs way close im into all the same stuff i seen you updated the wallet im using that in ALL my dApps lets chat!!!
hey @scottbolasevich still haven't found time to work on this 😬 but feel free to pop into the Algorand Discord with any questions, im barnji on there.