forked from lpgauth/rig
-
Notifications
You must be signed in to change notification settings - Fork 1
Shortpipe for roadblocks #1
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
Merged
Conversation
This file contains hidden or 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
ckvattes
approved these changes
Feb 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Only files that have changed are rig_persist.erl and rig_persist_utils.erl. The rest are there due to formatting.. So ignore them.
PS: we aren't going to commit back to open source since it is too specific to our use..
Although this is our fork, not going to list any private information like JIRA ticket etc.
FILES CHANGED:
rig.hrl (formatting)
rig_sup.erl (add rig_persist gen server start)
rebar3 (update to latest)
NEW FILES:
rig_persist.erl (gen_server subscribed to be called for update event)
rig_persist_utils.erl (helpers)
From sjc-delivery-4:
Feb 22 21:15:27 localhost 2022-02-23T02:15:27 sjc-delivery-4 rtb-gateway <0.117.0> sasl <0.520.0> persist_map: [#{country => ["US"],
deals => [{6,[<<"ADG10342SAM">>]}],
flight_id => 169433,
start_date => {{2020,10,6},{17,0,0}}},
#{country => ["DE"],
deals => [{6,[<<"ADG10288SAM">>]}],
flight_id => 211224,
start_date => {{2022,3,31},{4,0,0}}},
#{country => ["US"],
deals => [{6,[<<"ADG10342SAM">>]}],
flight_id => 296282,
start_date => {{2022,2,17},{5,0,0}}},
#{country => ["ES"],
deals => [{6,[<<"ADG10288SAM">>]}],
flight_id => 211223,
start_date => {{2021,3,5},{3,0,0}}},
#{country => ["KR"],
deals => [{6,[<<"ADG10344SAM">>]}],
flight_id => 248159,
start_date => {{2021,8,20},{8,0,0}}},
#{country => ["DE"],
deals => [{6,[<<"ADG10342SAM">>]}],
flight_id => 296697,
start_date => {{2022,2,23},{16,0,0}}},
#{country => ["CA"],
deals => [{6,[<<"ADG10342SAM">>]}],
flight_id => 287208,
start_date => {{2022,3,28},{4,0,0}}},
#{country => ["KR"],
deals => [{6,[<<"ADG10288SAM">>]}],
flight_id => 143204,
start_date => {{2020,5,29},{22,0,0}}},
#{country => [<<"US">>],
deals => [{6,[<<"ADG10288SAM">>]}],
flight_id => 240573,
start_date => {{2021,7,14},{21,0,0}}}