Skip to content

Commit

Permalink
Remove wait
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Jun 25, 2024
1 parent 7da720d commit 90fe296
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e/apns_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ func (s *ApnsE2ETestSuite) TestConsumeMessagesBeforeExiting() {
ctx, cancel := context.WithCancel(c)
go p.Start(ctx)
time.Sleep(wait)
time.Sleep(20 * time.Second)

notificationsToSend := 30

Expand Down
2 changes: 0 additions & 2 deletions extensions/apns/apns_message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ import (
"github.com/topfreegames/pusher/structs"
)

var apnsResMutex sync.Mutex

// pusherAPNSKafkaMessage is the notification format received in Kafka messages.
type pusherAPNSKafkaMessage struct {
ApnsID string
Expand Down

0 comments on commit 90fe296

Please sign in to comment.