-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colflow: fix emitting of flow stats and simplify the creator a bit
We introduced `isGatewayNode` boolean on the flow creator a couple of months ago which is used to decide whether the last outbox should emit the flow level memory and disk stats. However, we forget to properly initialize it in the constructor, and this commit fixes that issue. The impact though is very limited - we would just emit some redundant stats, and because they are used for maximum, they would get ignored. Additionally, this commit simplifies the flow creator by removing `materializerAdded` field because it is essentially a duplicate of `isGatewayNode`. Release note: None
- Loading branch information
1 parent
27b4ab1
commit 23958e5
Showing
1 changed file
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters