Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Johannes Ott - Initial contribution
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.coronastats")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.coronastats")
|
||||
public class CoronaStatsDiscoveryService extends AbstractDiscoveryService {
|
||||
private static final ThingUID WORLD_THING_UID = new ThingUID(THING_TYPE_WORLD, STATS);
|
||||
private static final int DISCOVER_TIMEOUT_SECONDS = 2;
|
||||
|
||||
Reference in New Issue
Block a user