You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4e82f90
Browse filesBrowse the repository at this point in the historyBrowse files
Precompile query regexps and respect context in event scans (#4760)
Query conditions using `MATCHES` re-parsed their pattern for every value
they were tested against, and an invalid pattern was silently treated as
a non-match. `Compile` now compiles each pattern once when the query is
built and returns an error for an invalid pattern, or when the estimated
program size of all patterns in the query, counting instructions and
character class ranges, exceeds `maxRegexpSize`.
`Environment.Events`, `Unsubscribe` and `BlockSearch` now apply the same
`maxQueryLength` limit that `Subscribe` and `TxSearch` already enforce.
`Events` stops scanning the event log once the request context is done,
and only treats the end of its own wait as an empty result rather than
the expiry of the caller's deadline.
0 commit comments