Skip to content

Bump github.com/stretchr/testify from 1.8.0 to 1.8.3#21

Open
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/stretchr/testify-1.8.3
Open

Bump github.com/stretchr/testify from 1.8.0 to 1.8.3#21
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/stretchr/testify-1.8.3

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 19, 2023

Bumps github.com/stretchr/testify from 1.8.0 to 1.8.3.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

smulube and others added 3 commits August 8, 2022 08:54
This is to address a specific issue we have in connecting to a large
exchange where our message rate is limited by the exchange at varying
levels between testing and production environments. Breaching those
limits causes our client to be disconnected so we need this guard in
place to ensure we do not inadvertantly burst over the limit should we
queue a large number of messages to be sent during the next iteration of
the writeLoop.

We also instrument the sending/receiving functions using Prometheus counters.
This is added for maximum observability but isn't fully thought through Here we
should probably allow the caller of the library to pass in a registerer so the
caller has more control of this. This change is quick and dirty one to see if
we can see these values on our application metrics
Add message rate limit to initiator and instrument
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.8.0...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 19, 2023
smulube pushed a commit that referenced this pull request Jun 3, 2024
…til sent (#21)

## Issue 
When log on request was queued because cannot be send due to connection
not ready,
Then it goes through the [main session
loop](https://github.com/alpacahq/quickfix/blob/5dcde41f3e6e68e93e1fd381761cd9c7843aec43/session.go#L821-L841)
which leads to
[SendAppMessages](https://github.com/alpacahq/quickfix/blob/5dcde41f3e6e68e93e1fd381761cd9c7843aec43/session_state.go#L107-L111)

But, since session is not logged on yet because the message queued is
the log on message, we drop the `toSend` queued messages so we lose the
log on message itself.


## Proposed solution
For important messages like Logon/Logout/Resend/SequenceReset we block
until sent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant