mercari / gaurun

General push notification server in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Obtaining error feedback relating to invalid tokens

pennersr opened this issue · comments

In order to be fully production ready, we would need to purge our database from invalid/expired tokens. Shouldn't there be an endpoint that can be queried to obtain error feedback relating to the push notifications that were processed?

Update: FWIW, to tackle this I rolled my own over at https://gitlab.com/pennersr/shove

Gaurun can output error log when push failures. User can use this log by program like daily batch to purge invalid/expired tokens.