1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 08:15:14 +00:00

Add metrics (#747)

* Add metrics

* Add obj_cache in session

---------

Co-authored-by: Heran Yang <heran.yang@seafile.com>
This commit is contained in:
feiniks
2025-03-31 16:46:24 +08:00
committed by GitHub
parent c963a54a82
commit 490f8d431c
22 changed files with 1293 additions and 69 deletions

View File

@@ -205,20 +205,44 @@ class Libjwt(Project):
for cmd in cmds:
shell(cmd)
class Libhiredis(Project):
def __init__(self):
super(Libhiredis, self).__init__('hiredis')
def branch(self):
return 'v1.1.0'
@property
def url(self):
return 'https://github.com/redis/hiredis.git'
@chdir
def compile_and_install(self):
cmds = [
'sudo make',
'sudo make install',
]
for cmd in cmds:
shell(cmd)
def fetch_and_build():
libsearpc = Libsearpc()
libjwt = Libjwt()
libhiredis = Libhiredis()
libevhtp = Libevhtp()
ccnet = CcnetServer()
seafile = SeafileServer()
libsearpc.clone()
libjwt.clone()
libhiredis.clone()
libevhtp.clone()
ccnet.clone()
libsearpc.compile_and_install()
libjwt.compile_and_install()
libhiredis.compile_and_install()
libevhtp.compile_and_install()
seafile.compile_and_install()