mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-27 10:35:51 +03:00
[GH-ISSUE #149] detect_block() adds 6 seconds overhead to every like/follow. #579
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#579
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @S0yKaf on GitHub (Oct 21, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/149
Hello, Writing this issue to document this time overhead that the
detect_block()function adds to every action.you can see from the logs here:
That
detect_block()adds a consistent 6 - 7 seconds delay every time it's called.A way should be found to optimized this function, as over time, it contributes heavily towards the time Instagram is kept running. Since we know Instagram keeps track of how long the app is open, I think It would be a good idea to optimize this function to keep this number down.
Here's the function in question:
I will do research on my side to see how this could be optimized. I'm also currently experimenting having the check removed altogether to see if it affects Instagrams bot detection.
Side Note:
If you're wondering why my sleeps are floats, I added custom sleep values as I found the default ones slightly too slow. as in, I normally interact faster than the bot does. the floats are simply for added randomness in the sleeping time.
@10000hzl commented on GitHub (Oct 23, 2020):
I like the floats thing, I implemented it too and it's cool to have.
I don't ever get an extra 6-7 seconds overhead though, maybe closer to 1-2 seconds.
@Fadude commented on GitHub (Jan 6, 2021):
There is a new parameter called
dont-indicate-softbanfrom version 3.5.0. If you wish to not use the softban-detection feature, just add this flag to your insomniac command.