expo-community / expo-server-sdk-ruby

A Ruby library for sending push notifications with Expo's notification service
MIT License
95 stars 53 forks source link

Initiate one client = Exponent::Push::Client.new? #19

Open lightninglu10 opened 5 years ago

lightninglu10 commented 5 years ago

Hey guys, should we have one Exponent::Push::Client.new running for the whole app? Or should we initialize a new client on every single push call?

When does the client close and is it a memory hog?