Update all modules to use registry - part 3
This commit is contained in:
@@ -506,7 +506,7 @@ impl SpamClassifier for Server {
|
||||
&Archiver::new(trainer)
|
||||
.serialize()
|
||||
.caused_by(trc::location!())?,
|
||||
self.core.storage.compression,
|
||||
self.core.email.compression,
|
||||
)
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
@@ -514,7 +514,7 @@ impl SpamClassifier for Server {
|
||||
.put_blob(
|
||||
SPAM_CLASSIFIER_KEY,
|
||||
&classifier.serialize().caused_by(trc::location!())?,
|
||||
self.core.storage.compression,
|
||||
self.core.email.compression,
|
||||
)
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
|
||||
Reference in New Issue
Block a user