1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-16 07:10:07 +00:00

Add config options: fixed_block_size and web_token_expire_time

This commit is contained in:
cuihaikuo
2016-10-08 11:32:26 +08:00
parent 72ae505def
commit 0699a9e2e6
4 changed files with 34 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ seaf_web_at_manager_get_access_token (SeafWebAccessTokenManager *mgr,
pthread_mutex_lock (&mgr->priv->lock);
t = gen_new_token (mgr->priv->access_token_hash);
expire = now + TOKEN_EXPIRE_TIME;
expire = now + seaf->http_server->web_token_expire_time;
info = g_new0 (AccessInfo, 1);
info->repo_id = g_strdup (repo_id);