mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-25 07:51:09 +00:00
remove leftover semaphore property
This commit is contained in:
parent
90234a9724
commit
6b86bb7d98
|
@ -59,11 +59,6 @@ class Application(web.Application):
|
||||||
return self['database']
|
return self['database']
|
||||||
|
|
||||||
|
|
||||||
@property
|
|
||||||
def semaphore(self):
|
|
||||||
return self['semaphore']
|
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def uptime(self):
|
def uptime(self):
|
||||||
if not self['starttime']:
|
if not self['starttime']:
|
||||||
|
@ -207,4 +202,3 @@ setattr(web.Request, 'signature', property(request_signature))
|
||||||
|
|
||||||
setattr(web.Request, 'config', property(lambda self: self.app.config))
|
setattr(web.Request, 'config', property(lambda self: self.app.config))
|
||||||
setattr(web.Request, 'database', property(lambda self: self.app.database))
|
setattr(web.Request, 'database', property(lambda self: self.app.database))
|
||||||
setattr(web.Request, 'semaphore', property(lambda self: self.app.semaphore))
|
|
||||||
|
|
Loading…
Reference in a new issue