chore: removing unnecessary comment
This commit is contained in:
@ -170,16 +170,6 @@ func CreateEventsHandler(notifier *Notifier[Notification]) http.HandlerFunc {
|
||||
notifications := splitter.Add(id)
|
||||
defer splitter.Remove(id)
|
||||
|
||||
// if err := notifier.Create(userId.String()); err != nil {
|
||||
// // TODO: this could be better.
|
||||
// // EG: The user could attempt to create many connections
|
||||
// // and they just get a 500, with no explanation.
|
||||
// fmt.Println(err)
|
||||
// w.WriteHeader(http.StatusInternalServerError)
|
||||
// // w.(http.Flusher).Flush()
|
||||
// return
|
||||
// }
|
||||
|
||||
for {
|
||||
select {
|
||||
case <-r.Context().Done():
|
||||
|
Reference in New Issue
Block a user