Optimize getting all issues

Created on 9 September 2020, over 4 years ago
Updated 12 October 2023, over 1 year ago

Calling getAllIssues in a helpdesk plugin will receive all or paged issues from remote. This is not ideal:

  • this can take really long, depending on how many issues to receive
  • it's not necessary, because once we've received the issues and stored them as entities in Drupal's database, we don't have to receive them again.

We should therefore optimize such that we start receiving beginning with the oldest and remember when we last received issues. Then we can tell the backend next time to send us only issues that have been created or changed since that last receipt.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024