Skip to content

Commit

Permalink
[PdoEventSourcing] Stop sleeping during event driven projection (#252)
Browse files Browse the repository at this point in the history
* Do not sleep in event driven projection

* no sleep for all

---------

Co-authored-by: jlabedo <jean@needelp.com>
  • Loading branch information
jlabedo and jlabedo authored Oct 26, 2023
1 parent 9c9af9b commit 5067276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProjectionRunningConfiguration implements DefinedObject
public const DEFAULT_AMOUNT_OF_CACHED_STREAM_NAMES = 1000;

public const OPTION_WAIT_BEFORE_CALLING_ES_WHEN_NO_EVENTS_FOUND = 'sleep';
public const DEFAULT_WAIT_BEFORE_CALLING_ES_WHEN_NO_EVENTS_FOUND = 10000;
public const DEFAULT_WAIT_BEFORE_CALLING_ES_WHEN_NO_EVENTS_FOUND = 0;

public const OPTION_PERSIST_CHANGES_AFTER_AMOUNT_OF_OPERATIONS = 'persist_block_size';
public const DEFAULT_PERSIST_CHANGES_AFTER_AMOUNT_OF_OPERATIONS = 1;
Expand Down

0 comments on commit 5067276

Please sign in to comment.