perf: expand gateway capacity and prevent receipt replay
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package inbound
|
||||
|
||||
import (
|
||||
"cmpp-platform/gateway/internal/protocollog"
|
||||
"context"
|
||||
cmpp "github.com/bigwhite/gocmpp"
|
||||
"io"
|
||||
"log"
|
||||
@@ -22,6 +24,9 @@ type Server struct {
|
||||
RecoveryStore RecoveryStore
|
||||
GatewayInstanceID string
|
||||
MaxSubmitConcurrency int
|
||||
ProtocolLogPublisher interface {
|
||||
Publish(context.Context, protocollog.Event) error
|
||||
}
|
||||
}
|
||||
|
||||
func (s Server) ListenAndServe() error {
|
||||
|
||||
Reference in New Issue
Block a user