Closed neon-mmd closed 1 month ago
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md
@neon-mmd ill work on this issue
@neon-mmd ill work on this issue
Yes sure, we will assign this issue to you now. You may start working on it right away :rocket: :slightly_smiling_face:
Description
Work Expected From The Issue
Provide a fix for the unexpected random delays in server response in
non-production
self-hosted instances by fixing the code responsible for conditionally enabling/disabling random delays based on whether the config optionsdebug
orproduction_use
were enabled or disabled.The issue expects the following files to be changed/modified:
src/server/routes/search.rs
Reason Behind These Changes
The reason behind having these changes is to only enable random delays for
production
servers only (which is enabled to evade bot detection and IP banning from the upstream search engines by emulating random delays similar to human based inputs). By providing these changes it significantly improves user experience.Sample Code
The changes that are required to be made in the
search.rs
file for this issue are shown below:Screenshots
No response
Do you want to work on this issue?
None
Additional information
No response