-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Hand message over via cache #26
FEATURE: Hand message over via cache #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one! Looks good by reading…
@@ -0,0 +1,2 @@ | |||
FlowPackJobQueueCommon_MessageCache: | |||
frontend: Neos\Cache\Frontend\VariableFrontend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to add persistent: true
here, because this should not be flushed / whatever. It's a rare case that could happen during a deployment or flush, but anyway...
Looks good, just added a note about using a persistent cache to prevent flush race conditions. |
1546561
to
f4daa7d
Compare
Thanks @hlubek - I guess the cases are really rare - but persistent does no harm. |
Yeah! |
I'm 4 years late to the party, but I'm afraid that this change introduced a weak spot into the architecture. No hard feelings (obviously) but I wonder how we could solve the core issue otherwise. We should put this behind a feature flag at least I would say |
If it's about the isolated scenario: why not use STDIN to pass the data? |
Great idea! |
If you hand over some data (eg elasticsearch queue indexer with 500 nodes per job) to an isolated command run you exceed the escapeshellarg max input length. To avoid this, this change passes the payload via a separate cache.
Fixes: #25