method
channel_identifier
v7.2.3 -
Show latest stable
- Class:
ActionCable::SubscriptionAdapter::PostgreSQL
channel_identifier(channel)private
No documentation available.
# File actioncable/lib/action_cable/subscription_adapter/postgresql.rb, line 60
def channel_identifier(channel)
channel.size > 63 ? OpenSSL::Digest::SHA1.hexdigest(channel) : channel
end