Skip to content

Commit

Permalink
Make AnnotationStore singleton (#3174)
Browse files Browse the repository at this point in the history
* Update WebKnossosModule.scala

* changelog

* add import
  • Loading branch information
fm3 authored Sep 7, 2018
1 parent 9154ffb commit ea3c93b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.md).
- Fixed a regression bug which caused the initial data loading to fail sometimes. [#3149](https://github.com/scalableminds/webknossos/pull/3149)
- Fixed a bug which caused a blank screen sometimes when the user is not logged in. [#3167](https://github.com/scalableminds/webknossos/pull/3167)
- Fixed a bug where NML downloads of Task Annotations failed. [#3166](https://github.com/scalableminds/webknossos/pull/3166)
- Fixed a bug where vieweing Compound Annotations (such as all tasks for a project in one view) failed. [#3174](https://github.com/scalableminds/webknossos/pull/3174)

### Removed

Expand Down
2 changes: 2 additions & 0 deletions app/WebKnossosModule.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import com.google.inject.AbstractModule
import controllers.InitialDataService
import models.annotation.AnnotationStore
import models.task.TaskService
import models.user._
import oxalis.user.UserCache
Expand All @@ -17,5 +18,6 @@ class WebKnossosModule extends AbstractModule {
bind(classOf[UserExperiencesDAO]).asEagerSingleton()
bind(classOf[UserDataSetConfigurationDAO]).asEagerSingleton()
bind(classOf[UserCache]).asEagerSingleton()
bind(classOf[AnnotationStore]).asEagerSingleton()
}
}

0 comments on commit ea3c93b

Please sign in to comment.