Skip to content

Commit

Permalink
🔖 Release v1.1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Mar 29, 2022
1 parent c436b9c commit c72f8a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.17] - 2022-03-29

### Changed

- `OverflowDbDriver::nodesReachableBy` does not initialize the data-flow engine with the last query's cache if results
are not being re-used.

## [1.1.16] - 2022-03-29

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,11 @@ final case class OverflowDbDriver(
.foreach { case (n: StoredNode, v: Vector[ReachableByResult]) =>
tab.put(n.id(), v.map(SerialReachableByResult.apply))
}
case None => // Do nothing
}
// Reload latest results to the query engine context
results.map(_.table).collectFirst { resultTable =>
setDataflowContext(context.config.maxCallDepth, context.semantics, Some(resultTable))
// Reload latest results to the query engine context
results.map(_.table).collectFirst { resultTable =>
setDataflowContext(context.config.maxCallDepth, context.semantics, Some(resultTable))
}
case None => // Do nothing since no table means we aren't saving data and instead keeping memory low
}
}

Expand Down

0 comments on commit c72f8a4

Please sign in to comment.