-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use FileSystem sync for AOF #91
Conversation
0ad66eb
to
e086370
Compare
e086370
to
4d99e73
Compare
|
||
@Autowired | ||
private KevaConfig kevaConfig; | ||
|
||
public void init() { | ||
alwaysFlush = kevaConfig.getAofInterval() == 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@the123saurav Can you replace all the kevaConfig.getAofInterval() != 0
to alwaysFlush
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 49:
if (kevaConfig.getAofInterval() != 0) {
ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor();
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far LGTM
4d99e73
to
94d76a7
Compare
@tuhuynh27 |
No description provided.