Skip to content

Commit

Permalink
curvefs/client: fix waitIntervalSec_ is not init
Browse files Browse the repository at this point in the history
  • Loading branch information
baijiaruo1 committed Apr 6, 2022
1 parent 89269ab commit 200d024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions curvefs/src/client/s3/client_s3_adaptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ S3ClientAdaptorImpl::Init(
inodeManager_ = inodeManager;
mdsClient_ = mdsClient;
fsCacheManager_ = fsCacheManager;
waitIntervalSec_.Init(option.intervalSec * 1000);
diskCacheManagerImpl_ = diskCacheManagerImpl;
if (HasDiskCache()) {
diskCacheManagerImpl_ = diskCacheManagerImpl;
Expand Down

0 comments on commit 200d024

Please sign in to comment.