Giter Club home page Giter Club logo

Comments (5)

stevenharman avatar stevenharman commented on June 6, 2024

Could you expand a bit on

Sometimes the PN server responds with big delay. It got stuck in a middle of sending PN

We currently use a non-blocking write and we read feedback off a different connection - I'm curious how you've detected the "delay?"

from grocer.

ChannyAzar avatar ChannyAzar commented on June 6, 2024

I'm following the logs. I saw it stuck in the line of pusher.push(notification).
After the delay, it prints the next log - after the above line.
During this delay - the worker can't push any message.

from grocer.

ChannyAzar avatar ChannyAzar commented on June 6, 2024

Is there a timeout option to Grocer.pusher that drops the connection? (It's not appears in documentation), or you use a regular Timeout module of ruby http://www.ruby-doc.org/stdlib-1.9.3/libdoc/timeout/rdoc/Timeout.html?

from grocer.

stevenharman avatar stevenharman commented on June 6, 2024

We do not have a timeout feature in Grocer, but you could use Timeout to do it yourself. That said, I've not heard of other folks having this problem - I wonder if there's a way to reach out to Apple to see if they can provide any insight.

from grocer.

ChannyAzar avatar ChannyAzar commented on June 6, 2024

It can be a very useful feature.

from grocer.

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.