Coder Social home page Coder Social logo

Comments (2)

britannic avatar britannic commented on June 1, 2024

@laszlojau, thank you for taking the time to figure out a workaround for processing arger lists. My preference is not to use the debug.runtime as a fix. You should also be able to achieve the same result without changing the code like this:

GOGC=20 /config/scripts/update-dnsmasq -v

from blacklist.

laszlojau avatar laszlojau commented on June 1, 2024

Thank you for your help. Sorry, forgot to reply with my findings.

I have changed the scheduled task to include GOGC=20 as per your comment and it has been working perfectly these past few months.

set system task-scheduler task update_blacklists executable path "GOGC=20 /config/scripts/update-dnsmasq-cronjob.sh"

The only caveat is that it throws the following error when you issue the command:

sh: line 0: [: GOGC=20: binary operator expected

Warning: 'GOGC=20' lies outside of /config/scripts/update-dnsmasq-cronjob.sh directory. It will not get preserved during image upgrade.

But it seems like it can be safely ignored, as the generated cron spec is valid:

0 0 */1 * * root GOGC=21 /config/scripts/update-dnsmasq-cronjob.sh 10800

It also works for a USG, the below line has to be changed in config.gateway.json:

"path": "GOGC=20 /config/scripts/update-dnsmasq-cronjob.sh"

from blacklist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.