mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
bcee4893f4
* perf: Add timeout and optimize URL unfurl performance Fixes issue where urls.unfurl endpoint could take 15+ seconds due to external API timeouts and sequential plugin execution. Changes: - Add timeout support to fetch utility with AbortController (defaults to no timeout, configurable per request) - Add 10 second timeout to Iframely plugin requests - Add early URL pattern validation to GitHub and Linear plugins to avoid unnecessary database queries - Add try-catch error handling to URL parsing in GitHub and Linear plugins This reduces worst-case unfurl time from 15+ seconds to ~10 seconds maximum, and eliminates unnecessary overhead for URLs that don't match plugin patterns. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * lint --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>