Skip to content

Commit

Permalink
The versionFetch shouldn't be forced if scheduler is doing an update.
Browse files Browse the repository at this point in the history
  • Loading branch information
niclash committed Feb 10, 2021
1 parent 2c21c8b commit c6d841e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/bali/ponyhub/Scheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void run()
GitHubRepository repository = elastic.loadDocument( indexName, id, GitHubRepository.class );
if( repository != null )
{
RepositoryScan.scanRepository( IdentityResolver.parse( repository.html_url ), elastic, true );
RepositoryScan.scanRepository( IdentityResolver.parse( repository.html_url ), elastic, false );
Thread.sleep( 1000 ); // throttle down a little bit.
}
}
Expand Down

0 comments on commit c6d841e

Please sign in to comment.