Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Fix bug of #4
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyHuo committed Mar 26, 2018
1 parent 342807f commit c7b1223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sina/bip/hangout/outputs/Clickhouse.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void eventInsert(Map event) throws Exception {
private void eventInsert(Map event, int eventSize) throws Exception {

this.events.add(event);
if (this.events.size() == eventSize) {
if (this.events.size() >= eventSize) {
log.info("Insert bulk start, number: " + this.bulkNum);
this.formatParse.bulkInsert(events);
log.info("Insert bulk end, number: " + this.bulkNum);
Expand Down

0 comments on commit c7b1223

Please sign in to comment.