mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 03:00:56 +08:00
Check for interrupts [skip ci]
This commit is contained in:
@@ -281,6 +281,8 @@ MiniBatchKmeans(IvfflatBuildState * buildstate)
|
||||
|
||||
for (i = 0; i < t; i++)
|
||||
{
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* Reset samples */
|
||||
buildstate->samples->length = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user