Skip to content

Commit

Permalink
Fix and force cache reset
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Jan 30, 2018
1 parent 038d5b5 commit 2964196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/Jobs/EntitiesIndexJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function loadContent($records) {

// Load priority list
$priority = $this->getPriorityList($fields);
$entities = tripal_load_entity('TripalEntity', $ids, FALSE, $priority['ids']);
$entities = tripal_load_entity('TripalEntity', $ids, TRUE, $priority['ids']);
foreach ($records as $record) {
$this->total++;

Expand Down
2 changes: 1 addition & 1 deletion tripal_elasticsearch.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function drush_tripal_elasticsearch_es_run_tests() {
$memory_usage[$i][] = $mem;
print "Before load memory Usage: " . number_format($mem) . " bytes\n";
print "Loading entities SELECT * FROM {" . $table . "} ORDER BY entity_id DESC OFFSET $i LIMIT 100\n";
$entities = tripal_load_entity('TripalEntity', $entity_ids);
$entities = tripal_load_entity('TripalEntity', $entity_ids, TRUE);
$mem = memory_get_usage();
$memory_usage[$i][] = $mem;
print "After load memory Usage: " . number_format($mem) . " bytes\n";
Expand Down

0 comments on commit 2964196

Please sign in to comment.