mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-03 08:24:27 +00:00
Add online gc (#706)
* Add online gc core * Add check gc when update repo * Go add check gc when update repo * Add gc unit test * Support set pwd_hash for gc and fsck * Optimize to check if block exists --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -399,6 +399,9 @@ class SeafileAPI(object):
|
||||
"""
|
||||
return seafserv_threaded_rpc.set_repo_history_limit(repo_id, days)
|
||||
|
||||
def set_repo_valid_since(self, repo_id, timestamp):
|
||||
return seafserv_threaded_rpc.set_repo_valid_since(repo_id, timestamp)
|
||||
|
||||
def check_repo_blocks_missing(self, repo_id, blklist):
|
||||
return seafserv_threaded_rpc.check_repo_blocks_missing(repo_id, blklist)
|
||||
|
||||
|
Reference in New Issue
Block a user