Skip to content

Commit

Permalink
Remove transaction from ingestion redis
Browse files Browse the repository at this point in the history
  • Loading branch information
imjuanleonard committed Feb 24, 2020
1 parent aec7979 commit c1bc448
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -238,15 +238,13 @@ private void executeBatch() throws Exception {
new Retriable() {
@Override
public void execute() {
pipeline.multi();
mutations.forEach(
mutation -> {
writeRecord(mutation);
if (mutation.getExpiryMillis() != null && mutation.getExpiryMillis() > 0) {
pipeline.pexpire(mutation.getKey(), mutation.getExpiryMillis());
}
});
pipeline.exec();
pipeline.sync();
mutations.clear();
}
Expand Down

0 comments on commit c1bc448

Please sign in to comment.