File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ static int cb_s3_init(struct flb_output_instance *ins,
928
928
929
929
/*
930
930
* S3 must ALWAYS use sync mode
931
- * In the timer thread we do a mk_list_foreach_safe on the queue of uplaods and chunks
931
+ * In the timer thread we do a mk_list_foreach_safe on the queue of uploads and chunks
932
932
* Iterating over those lists is not concurrent safe. If a flush call ran at the same time
933
933
* And deleted an item from the list, this could cause a crash/corruption.
934
934
*/
@@ -1779,7 +1779,7 @@ static void cb_s3_upload(struct flb_config *config, void *data)
1779
1779
chunk = fsf -> data ;
1780
1780
1781
1781
if (now < (chunk -> create_time + ctx -> upload_timeout + ctx -> retry_time )) {
1782
- continue ; /* Only send chunks which have timed out */
1782
+ continue ; /* Only send chunks which haven't timed out */
1783
1783
}
1784
1784
1785
1785
/* Locked chunks are being processed, skip */
You can’t perform that action at this time.
0 commit comments