Giter VIP home page Giter VIP logo

Comments (6)

quirkey avatar quirkey commented on July 26, 2024

The problem is actually that Resque.encode calls to_json and then Resque::Status#to_json calls Resque.encode so it becomes an infinite loop (when using the JSON gem). I'm working on a way to fix this. Thanks

from resque-status.

pzingg avatar pzingg commented on July 26, 2024

I have the same problem. I think it's because my deployment doesn't use yajl, just regular json. I have a fork that I mucked with to get around the problem. Not as elegant as your original code (I encapsulate a hash rather than inherit from it).

from resque-status.

quirkey avatar quirkey commented on July 26, 2024

Hey All,
Just pushed a new version last night that includes this commit:
http://github.com/quirkey/resque-status/commit/836fd7449aa75f478266bc6b4241e7af1095ccce

Which should fix any issues with the JSON gem.

from resque-status.

 avatar commented on July 26, 2024

That's weird. I'm using exactly this commit and i still have "stack level too deep" errors.

from resque-status.

 avatar commented on July 26, 2024

My trace ... http://gist.github.com/396893

from resque-status.

 avatar commented on July 26, 2024

Wow. I fixed the problem. It's a problem with Vlad.
http://stackoverflow.com/questions/3105384/why-im-getting-stack-level-too-deep-while-triggering-a-job-using-resque-status/3216054#3216054

from resque-status.

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.