package com.dowstats.service.schedulers

import com.dowstats.service.integrations.ModStorageIntegrationService
import org.apache.commons.logging.LogFactory
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component


@Component  
class Schedulers (
    val modStorageIntegrationService: ModStorageIntegrationService
) {

    @Scheduled(fixedDelay = 600000)
    fun synchronizeLastMods() {
        modStorageIntegrationService.requestAvailableMods()
    }
}