Skip to content

Commit fbfacf2

Browse files
authored
Increase topic length to allow len(uuid+xid+xid). (#25)
1 parent dce5e45 commit fbfacf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/signaling/stores/postgres.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (s *PostgresStore) Subscribe(ctx context.Context, topic string, callback Su
119119
}
120120

121121
func (s *PostgresStore) Publish(ctx context.Context, topic string, data []byte) error {
122-
if len(topic) > 64 {
122+
if len(topic) > 76 {
123123
return fmt.Errorf("topic too long")
124124
}
125125
if strings.ContainsRune(topic, ':') {

0 commit comments

Comments
 (0)