feat: enable all datasource
This commit is contained in:
parent
b8f032a4a5
commit
aaa1a6d6b6
1 changed files with 4 additions and 4 deletions
|
@ -101,10 +101,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
.into_json()?;
|
||||
info!("LoL numbers of champs: {}", champion.data.len());
|
||||
|
||||
let data_sources: [&'static (dyn DataSource + Sync + Send); 1] = [
|
||||
//&PBDataSource,
|
||||
//&CGGDataSource,
|
||||
//KBDataSource::new(),
|
||||
let data_sources: [&'static (dyn DataSource + Sync + Send); 4] = [
|
||||
&PBDataSource,
|
||||
&CGGDataSource,
|
||||
KBDataSource::new(),
|
||||
&MSDataSource,
|
||||
];
|
||||
data_sources.par_iter().for_each(|data_source| {
|
||||
|
|
Loading…
Add table
Reference in a new issue