forked from wallabag/wallabag
Add tests
This commit is contained in:
@ -258,7 +258,7 @@ class PocketImport implements ImportInterface
|
||||
// flush every 20 entries
|
||||
if (($i % 20) === 0) {
|
||||
$this->em->flush();
|
||||
$this->em->clear();
|
||||
$this->em->clear($entry);
|
||||
}
|
||||
++$i;
|
||||
}
|
||||
|
||||
@ -185,7 +185,7 @@ abstract class WallabagImport implements ImportInterface
|
||||
// flush every 20 entries
|
||||
if (($i % 20) === 0) {
|
||||
$this->em->flush();
|
||||
$this->em->clear();
|
||||
$this->em->clear($entry);
|
||||
}
|
||||
++$i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user