mirror of https://github.com/jumpserver/jumpserver
fix(asset_user): 修改创建AuthBook对象锁机制,使用select_for_update替换redis_lock2
parent
abcb589658
commit
9550ea62fb
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
from django.db import models, transaction
|
from django.db import models, transaction
|
||||||
from django.db.models import Max
|
from django.db.models import Max
|
||||||
from django.core.cache import cache
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
from orgs.mixins.models import OrgManager
|
from orgs.mixins.models import OrgManager
|
||||||
|
|
Loading…
Reference in New Issue