Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@dev-737
Copy link
Member

@dev-737 dev-737 commented May 24, 2024

This pull request adds a new feature to delete connections after 24 hours of inactivity. It includes changes to the Scheduler class to add a new method 'hasTask', a deletion script, modifications to the buildConnectionButtons function, changes to the SuperClient class to store message timestamps, modifications to the ConnectedList module to add a new collection for message timestamps, and updates to the ReactionUpdater class to handle inactive connection reconnections. This feature improves the efficiency and management of connections in the application.

@deepsource-io
Copy link

deepsource-io bot commented May 24, 2024

Here's the code health analysis summary for commits 2036974..c45a5bd. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
🎯 2 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@dev-737 dev-737 self-assigned this May 24, 2024
@dev-737 dev-737 added the feature New feature or request label May 24, 2024
Copy link
Member Author

@dev-737 dev-737 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful code 10/10

@dev-737 dev-737 merged commit 43476dc into main May 24, 2024
@dev-737 dev-737 deleted the delete_inactive_connections branch May 24, 2024 09:28
@sentry
Copy link

sentry bot commented May 24, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ **PrismaClientKnownRequestError: ** modifyConnection(ConnectedList.ts) View Issue
  • ‼️ DiscordAPIError[10062]: Unknown interaction inactiveConnect(RandomComponents.ts) View Issue
  • ‼️ TypeError: Cannot read properties of null (reading 'id') default(storeMessageData.ts) View Issue
  • ‼️ **PrismaClientKnownRequestError: ** modifyConnection(ConnectedList.ts) View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants