lot4
This commit is contained in:
@@ -55,10 +55,12 @@ class _ProfileCacheEntry {
|
||||
final DateTime fetchedAt;
|
||||
}
|
||||
|
||||
/// Agrège fiche user, skills (cursus, pas `/experiences`) et `projects_users` (scope `projects`).
|
||||
class IntraProfileService {
|
||||
IntraProfileService._();
|
||||
static final IntraProfileService instance = IntraProfileService._();
|
||||
|
||||
/// Cache court + délai entre GET pour limiter les 429 sur l'API 42.
|
||||
static const Duration _cacheTtl = Duration(minutes: 2);
|
||||
static const Duration _betweenRequests = Duration(milliseconds: 450);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user