-
Notifications
You must be signed in to change notification settings - Fork 318
Closed
Description
Motivation
On environment with many requests, updating the last used field at every requests adds a lot of load on database. Especially when you have a master slave replication.
In our scenario that field is not used at all.
By disabling the update we gain 20% more throughput
return $this->supportsTokens($accessToken->tokenable) ? $accessToken->tokenable->withAccessToken(
//tap($accessToken->forceFill(['last_used_at' => now()]))->save()
$accessToken
) : null;I am not a Laravel developer, so I can't submit a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels