[RSS Feed/News] Deadlock on permission API

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

we created a custom endpoint for forum permission and we are using the existing code from xenforo,

PHP:

Code:
$permissionUpdater = $this->service('XF:UpdatePermissions');
        $permissionUpdater->setContent('node', $forumId)->setUser($user);
        $permissionUpdater->updatePermissions($permissions);

we are calling this API from our system through the Kafka cluster. 3 instances are calling this API frequently because of this in the community system we are getting a deadlock error...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom