Skip to content

refactor: separate event queue mainsail#1600

Merged
ItsANameToo merged 2 commits into
mainsail-developfrom
refactor/separate-event-queue-mainsail
May 22, 2026
Merged

refactor: separate event queue mainsail#1600
ItsANameToo merged 2 commits into
mainsail-developfrom
refactor/separate-event-queue-mainsail

Conversation

@alexbarnsley
Copy link
Copy Markdown
Member

@alexbarnsley alexbarnsley commented May 20, 2026

Summary

https://app.clickup.com/t/86e1euz5u

Replication of #1599

Steps to test taken from that PR:

  • setup reverb - primarily uses BROADCAST_DRIVER=reverb but you may need additional config if not done before
  • run php artisan reverb:start --debug (debug isn't necessary but is useful)
  • run php artisan queue:work --queue=reverb - to ensure it's going to the correct queue
  • run php artisan horizon to test horizon is also picking it up
  • for both of the above, in php artisan tinker, run the below examples:

Wallet page (replace IDs, address and public key):

NewTransaction::dispatch(null, '<ADDRESS>', '<PUBLIC_KEY>');
NewBlock::dispatch(null, '<BLOCK_ID>');
WalletVote::dispatch(null, '<PUBLIC_KEY>');

Transaction Overview page:

NewTransaction::dispatch(); or NewTransaction::dispatch(null); (or the above transaction format - all should work)

Monitor and Block Overview pages:

NewBlock::dispatch(); or NewBlock::dispatch(null);

There are various for the Statistics page:

AddressHoldings::dispatch();
AnnualData::dispatch();
DelegateDetails::dispatch();
MarketData::dispatch();
TransactionDetails::dispatch();
UniqueAddresses::dispatch();

Checklist

  • I checked my UI changes against the design and there are no notable differences
  • I checked my UI changes for any responsiveness issues
  • I checked my UI changes in light AND dark mode
  • I checked my (code) changes for obvious issues, debug statements and commented code
  • I opened a corresponding card on Clickup for any remaining TODOs in my code
  • I added a short description on how to test this PR (if necessary)
  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ItsANameToo ItsANameToo merged commit 1ffc3ae into mainsail-develop May 22, 2026
11 checks passed
@ItsANameToo ItsANameToo deleted the refactor/separate-event-queue-mainsail branch May 22, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants