29th / personnel-v3

Personnel management system version 3
https://www.29th.org
2 stars 6 forks source link

Use caching in DiscourseService to improve performance #216

Closed wilson29thid closed 8 months ago

wilson29thid commented 8 months ago

Most operations in DiscourseService first need to fetch the discourse user (by id). Use object state to cache it in the user model, or find some other way to eliminate repeated requests (e.g. faraday cache).