Commit 000cbdba authored by Matija Obreza's avatar Matija Obreza
Browse files

Cleanup

parent 9a48355b
......@@ -136,7 +136,7 @@ public class OAuth2JPATokenStoreImpl implements JPATokenStoreCleanup, JPATokenSt
* Cleanup executed every 10 minutes
*/
@Override
@Scheduled(fixedDelay = 50000)
@Scheduled(fixedDelay = 600000)
public void removeExpired() {
final Date olderThan = new Date(new Date().getTime() - 600000);
LOG.debug("Removing OAuth access tokens from before: " + olderThan);
......
......@@ -63,7 +63,6 @@ public class AccessionController extends BaseController {
throw new ResourceNotFoundException();
}
model.addAttribute("accession", accession);
model.addAttribute("faoInstitute", instituteService.getInstitute(accession.getInstituteCode()));
model.addAttribute("accessionNames", genesysService.listAccessionNames(accession));
model.addAttribute("accessionAliases", genesysService.listAccessionAliases(accession));
model.addAttribute("accessionExchange", genesysService.listAccessionExchange(accession));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment