Skip to content

Commit

Permalink
eager fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed May 29, 2024
1 parent 4abf989 commit 1a90d8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class JdbcReadJournal(config: Config, configPath: String)(implicit val system: E
JournalSequenceActor.props(readJournalDao, readJournalConfig.journalSequenceRetrievalConfiguration),
s"$configPath.pekko-persistence-jdbc-journal-sequence-actor")
private val delaySource =
Source.tick(readJournalConfig.refreshInterval, readJournalConfig.refreshInterval, 0).take(1)
Source.tick(0.seconds, readJournalConfig.refreshInterval, 0)

/**
* Same type of query as `persistenceIds` but the event stream
Expand Down

0 comments on commit 1a90d8f

Please sign in to comment.