mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix scheduler definition
This commit is contained in:
parent
ad620397ae
commit
054f23efda
@ -10,9 +10,7 @@ pub fn main() {
|
||||
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
|
||||
|
||||
MapBuilder::from_window("A fantastic window!")
|
||||
.with_schedule_method(ScheduleMethod::Tokio(TokioScheduleMethod::new(Some(
|
||||
"/tmp/mapr_cache".to_string(),
|
||||
))))
|
||||
.with_schedule_method(ScheduleMethod::Tokio(TokioScheduleMethod::new()))
|
||||
.build()
|
||||
.run_sync();
|
||||
}
|
||||
|
||||
@ -11,9 +11,7 @@ pub fn mapr_apple_main() {
|
||||
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
|
||||
|
||||
MapBuilder::from_window("A fantastic window!")
|
||||
.with_schedule_method(ScheduleMethod::Tokio(TokioScheduleMethod::new(Some(
|
||||
"/tmp/mapr_cache".to_string(),
|
||||
))))
|
||||
.with_schedule_method(ScheduleMethod::Tokio(TokioScheduleMethod::new()))
|
||||
.build()
|
||||
.run_sync();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user