Git Product home page Git Product logo

Comments (5)

jnunemaker avatar jnunemaker commented on August 15, 2024

@micahtessler I'm not sure how to reproduce this. It sounds like Flipper is getting used during the boot process prior to your custom config possibly? @bkeepers does it sound like that to you or do you have any different ideas?

One option to figure out where this is happening is to bundle open flipper and add something like caller inside the flipper configure block there to see the backtrace of where it's getting invoked from. Once you have that, it should be easier to determine why this is happening.

Can you give that a try and let me know if it helps?

from flipper.

bkeepers avatar bkeepers commented on August 15, 2024

@micahtessler I'm not sure how to reproduce this. It sounds like Flipper is getting used during the boot process prior to your custom config possibly? @bkeepers does it sound like that to you or do you have any different ideas?

I agree, that's what it sounds like.

I edited my local copies of the gems to dump the stack to trace the problem (so some line numbers don't 100% line up).

If youc an paste the whole stack trace, we should be able to tell if it's happening during app boot and where.

from flipper.

micahtessler avatar micahtessler commented on August 15, 2024

Not sure what you reference as the boot process. The first initialization happens correctly as you can see above, it calls into my initializer config.
The second and third intializations happen incorrectly and occur afterwards.

so it there was a boot problem, I would expect the opposite, the first initialization would not get the config as it hadn't been set.
The 2nd and third would pick up the correct config as it's set in a rails initilaizer.

from flipper.

micahtessler avatar micahtessler commented on August 15, 2024

What from the stack trace do you need to see specifically?

from flipper.

jnunemaker avatar jnunemaker commented on August 15, 2024

What from the stack trace do you need to see specifically?

From inside of the default redis configure block. If you bundle open flipper-redis you can add the require and pp caller in the screenshot. Restart your process and copy the backtrace that gets printed.

backtrace

from flipper.

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.