Serega007RU / Auto-Vote-Rating

Automatic voting on monitoring sites (ratings) for game servers in order to automate the receipt of a reward for voting.
28 stars 10 forks source link

Option to disable auto-retry #1

Closed Bug38 closed 1 year ago

Bug38 commented 1 year ago

Hi !

In case of an error, the plugin will try to vote again 5 minutes later. I have 2 questions regarding this mechanism :

I went on my headless computer this morning to find about 75 tabs trying to vote, so I searched for a way to disable these retries, hence this issue 😄

Thx !

Serega007RU commented 1 year ago

If some error occurs, the extension should close the tab. The fact that you have 75 tabs - this should not be. Unfortunately, I don't understand why this can happen, can you provide extension logs? Logs may give information about what the problem is image

Regarding the timeout for the next vote in case of an error, you can configure it here as indicated in this screenshot image But this will not solve your problem, so I do not advise you to touch this setting

Bug38 commented 1 year ago

In 4 hours, here is what I have (less than this morning, and only one project) : image And as you can see in the last lines of the log, the problem here occurs when a manual solving is needed. console_history.txt

And as you can see in the next picture, no error is triggered. Maybe this is a reason for the tabs to stay open... image

I will try to change this timeout setting to a really large number.

Serega007RU commented 1 year ago

And so, I made changes to the code correcting your problem, also added the ability to change the voting timeout time and added the ability to disable the restart of voting if it takes too long.

Your problem will be fixed in version 7.0.5. At the moment I am waiting for the 7.0.4 update to be published. After the 7.0.4 update is published, I will provide you with a file with the update to version 7.0.5, which will contain all the above-listed fixes. Wait for now

Bug38 commented 1 year ago

Thank you for the quick fix and your responsivness 😄

No problem, I'll wait. I think I will disable the projects that fail for now, and put them back later when the plugin is updated.

Serega007RU commented 1 year ago

@Bug38 Here is the new version 7.0.5 in which this problem is fixed https://cdn.discordapp.com/attachments/760393040174120990/1064827501475549225/mdfmiljoheedihbcfiifopgmlcincadd_main.crx How to install or update an extension from a crx file: https://github.com/Serega007RU/Auto-Vote-Rating/wiki/How-to-install-or-update-an-extension-from-a-crx-file

Serega007RU commented 1 year ago

Update 7.0.5 is published on the Chrome Web Store, the extension should update automatically. Problem solved