Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #13

Merged
merged 188 commits into from
Jul 4, 2022
Merged

Dev #13

merged 188 commits into from
Jul 4, 2022

Conversation

Commandserver
Copy link
Owner

No description provided.

Commandserver and others added 30 commits May 22, 2022 15:14
added tags, install_params and custom_install_url to application class
Previously, the condition depended also on the sequence number.
This was supposed to handle the wrap around case. In reality,
it depends on what LHS and RHS are, and flipping the LHS and RHS
breaks the ordering.

Recall that LHS has lower priority, i.e. should appear behind, RHS if

     LHS.seq > RHS.seq || LHS.timestamp > RHS.timestamp

The timestamp is only taken into account if LHS.seq <= RHS.seq.

For example, in case of LHS.seq = 1 < 65530 = RHS.seq, the
timestamp will be taken into account, which could place
LHS (1) after RHS (65530). However, if we flip the sides, so that
LHS.seq = 65530 and RHS.seq = 1, then LHS (65530) is immediately
placed after RHS (1), without considering the timestamp, which is
incorrect behavior.

The consequence is that the ordering in the payload queue is
incorrect. For instance, seq=65530 can appear after seq=65531,
and the loop has to run through all sequence numbers from 65531,
to 65535, to 1, back to 65530. As we approach the wrap-around
case, we tend to hang long in the voice courier thread.
Depend `discord_voice_client::voice_payload` priority only on timestamps.
removed deprecated exclamation mark from guild_member::get_mention
implemented channel::get_icon_url & small doc improvements of slashcommand.h and some intent fixes
braindigitalis and others added 29 commits June 25, 2022 09:49
…unctionality. use edotor.net to build them interactively
* The new DNS feature uses unique_lock with shared_mutex
* This requires mutex include in gcc 11+, clang 12.0.1+
fix: delete_webhook_with_token should send DELETE
@Commandserver Commandserver merged commit 2d85639 into Commandserver:master Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants