Commit 29b45a33 authored by yangxiaodong's avatar yangxiaodong

Rename class.

parent b0dcd64b
...@@ -5,7 +5,7 @@ using System.Threading.Tasks; ...@@ -5,7 +5,7 @@ using System.Threading.Tasks;
namespace Cap.Consistency.Job namespace Cap.Consistency.Job
{ {
public interface IProcessor public interface IJobProcessor
{ {
Task ProcessAsync(ProcessingContext context); Task ProcessAsync(ProcessingContext context);
} }
......
...@@ -27,8 +27,8 @@ namespace Microsoft.AspNetCore.Builder ...@@ -27,8 +27,8 @@ namespace Microsoft.AspNetCore.Builder
} }
var provider = app.ApplicationServices; var provider = app.ApplicationServices;
var bootstrapper = provider.GetRequiredService<ITopicServer>(); var bootstrapper = provider.GetRequiredService<IBootstrapper>();
bootstrapper.Start(); bootstrapper.BootstrapAsync();
return app; return app;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment