fut icon indicating copy to clipboard operation
fut copied to clipboard

[question]search(...,page_size = 36)?

Open tosssman opened this issue 7 years ago • 6 comments

why change page_size from 16 to 36?is that safety? @oczkers

tosssman avatar Dec 20 '17 14:12 tosssman

+ # n += (36 - 1) # don't ask me, that's what ea is doing means: from now on page_size should be 36? that would be safety?not 16?

tosssman avatar Dec 20 '17 14:12 tosssman

and one more question: how many bots can be running pre IP? in other words,requests send account by IP? not bot?

cause there always comes out: 512/521 Temporary ban or just too many requests. 426 Too many requests then i catch the exception and reboot the bot,a few requests can still be send then exceptions again. over and over... just don't figure out what's going on =(

tosssman avatar Dec 20 '17 15:12 tosssman

now,i think IP is the answer.not bot(EA account) cause when i run the bot one by one,the exceptions less than running some bots at the same time by one IP. @oczkers right? :-) so (500 requests pre hour/5000 pre day) point at IP?

tosssman avatar Dec 20 '17 15:12 tosssman

another case: cause the items return from the search change to 36,then i bid all those items with no delay?

tosssman avatar Dec 20 '17 15:12 tosssman

FYI the default items per page is in remoteconfig.json

rc['itemsPerPage']['transferMarket']

I think its 35 there, before that change it was 15, so it is this value + 1. The offset is this value, so the first page offset is 0, second page offset is 35, third page 70...

ricklhp7 avatar Dec 21 '17 16:12 ricklhp7

I'll reopen this with TODO: basing on ricklhp7 info, make default page_size dynamic (reading config on every login)

oczkers avatar Dec 22 '17 15:12 oczkers