Retry push event

Abierto
#300 15 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
24/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
html
Área
api

Línea de trabajo

The issue points to the Push API working draft and asks whether service worker push events should retry failed notification fetches with exponential backoff. Read the linked draft and the discussion to understand the proposed behavior and whether it was resolved; done would require a clear API decision and corresponding specification changes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

In the working draft I cannot find anything about retries for the push event.

When our service worker receives a push event it tries to fetch the notifications from the application server. What if a network error occurs? (e.g. the user is on an unreliable network or the server is temporary down)

I think that it would be useful to always retry the push event with exponential backoff when an exception occurs: what do you think? Currently I don't see any way for the developer to create a reliable push handler.

Lenguaje dominante
HTML
Estrellas
158
Forks
43
Merge medio
2 d 6 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de w3c/push-api

Todos los issues de w3c/push-api

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.