Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Vinay Pandya imVinayPandya

🏠
Working from home
View GitHub Profile
View pusher.ex
defmodule GCM.Pusher do
use GenStage
# The maximum number of requests Firebase allows at once per XMPP connection
@max_demand 100
defstruct [
:producer,
:producer_from,
:fcm_conn_pid,
:pending_requests,