Giter Site home page Giter Site logo

Clean redis about php-resque HOT 7 CLOSED

s-alpha-1 avatar s-alpha-1 commented on September 26, 2024
Clean redis

from php-resque.

Comments (7)

chrisboulton avatar chrisboulton commented on September 26, 2024

Hi,

I'm not sure what you mean by this - can you clarify for me?

from php-resque.

s-alpha-1 avatar s-alpha-1 commented on September 26, 2024

I mean jobs being saved on redis. The job which already executed still remain on redis. I want to remove these jobs so that I can free storage on my redis EC2 server

from php-resque.

jbrower avatar jbrower commented on September 26, 2024

Are you talking about the job status? Jobs that are executed without the status tracking don't make that extra key in redis.

from php-resque.

s-alpha-1 avatar s-alpha-1 commented on September 26, 2024

Ah, thank jbrower. How to remove status tracking from job?

from php-resque.

jbrower avatar jbrower commented on September 26, 2024

When you enqueue the job, pass false as the fourth option and it won't track the status. The docs also shows a method to remove the tracking on jobs that already have tracking enabled.

from php-resque.

s-alpha-1 avatar s-alpha-1 commented on September 26, 2024

Thank jbrower. It works excellent. It also auto expired, that I did not notice that.
Thank you

from php-resque.

jbrower avatar jbrower commented on September 26, 2024

Excellent. Glad to hear you got it worked out. You should close this issue if it's all resolved for you.

from php-resque.

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.