Redis#sadd Integer warning #1

Closed
opened 2022-11-30 17:57:27 +00:00 by Jeremy Kescher · 1 comment
Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead.(called from: /opt/mastodon/live/app/models/trends/base.rb:63:in `record_used_id')
``` Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead.(called from: /opt/mastodon/live/app/models/trends/base.rb:63:in `record_used_id') ```
Jeremy Kescher self-assigned this 2022-11-30 17:57:28 +00:00
Author
Owner

More such lines in log.

journalctl -u mastodon-sidekiq -u mastodon-web | grep "Redis#sadd"
More such lines in log. ```bash journalctl -u mastodon-sidekiq -u mastodon-web | grep "Redis#sadd" ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: CatCatNya/catstodon#1
No description provided.