12products / poke-backend

Backend for poke with nest framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement backoff algorithm

amorriscode opened this issue · comments

We want to send a maximum of four texts per reminder per day. If they don't respond, we'll use a backoff algorithm to space out those four texts.

  1. Send first poke
  2. Send next poke 1 hour after previous
  3. Send next poke 2 hours after previous
  4. Send final poke 3 hours after previous