mirror of
https://github.com/NdoleStudio/httpsms.git
synced 2026-04-26 19:35:50 +03:00
[PR #131] [MERGED] Handle send message event in a local setup (dev. localhost) #185
Labels
No labels
In Review
documentation
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/httpsms#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NdoleStudio/httpsms/pull/131
Author: @eriksson
Created: 3/16/2023
Status: ✅ Merged
Merged: 3/20/2023
Merged by: @AchoArnold
Base:
main← Head:handle_local_event_queue📝 Commits (3)
e1c8c10handle send event in a local setup (dev. localhost)6e4e473refactor code and create a local implementation of the PushQueue interface: InMemoryPushQueue36dc244add missing span.End()📊 Changes
2 files changed (+68 additions, -0 deletions)
View changed files
📝
api/pkg/di/container.go(+9 -0)➕
api/pkg/services/in_memory_push_queue.go(+59 -0)📄 Description
When running in development environment, usually bound to the localhost, there is no way to use Cloud Task to trigger the internal api /events.
We can rely on an internal timeout to simulate the a task processing queue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.