Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback queue for not sent messages. #10

Open
moshenskyDV opened this issue Dec 27, 2019 · 0 comments
Open

Fallback queue for not sent messages. #10

moshenskyDV opened this issue Dec 27, 2019 · 0 comments

Comments

@moshenskyDV
Copy link
Owner

Trouble: sometimes (when mistakes in config, or not granted access to google sheet, or we can't get response from google services) we have infinite scroll. It's incorrect behavior.

What we need to do:

  1. Create new table (or write to wp_options maybe) with queue of messages, that haven't been sent. Intercept error responses from API and put this messages into the queue.
  2. Time by time (CRON, or on admin login, not sure yet) try to trigger queued messages again. Remove message from queue on success.
  3. Also need to show in admin panel warning if any message in queue.
  4. Create a tab in plugin config, that shows a table with message queue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant