A single failing package used to kill its whole worker thread silently because only Vectorizer::Error was rescued per package. Now every StandardError is caught and logged with class and backtrace, and the embedding write is narrowed to update_column(:embedding) so the task only ever issues a minimal UPDATE - it cannot touch any other column or fire model callbacks. Progress stats no longer serialize database writes through the mutex. |
||
|---|---|---|
| .. | ||
| assets | ||
| tasks | ||
| deb_importer.rb | ||
| vectorizer.rb | ||