mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
events processor web job project
This commit is contained in:
19
src/EventsProcessor/Program.cs
Normal file
19
src/EventsProcessor/Program.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Microsoft.Azure.WebJobs;
|
||||
|
||||
namespace Bit.EventsProcessor
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
private static void Main()
|
||||
{
|
||||
var config = new JobHostConfiguration();
|
||||
if(config.IsDevelopment)
|
||||
{
|
||||
config.UseDevelopmentSettings();
|
||||
}
|
||||
|
||||
var host = new JobHost(config);
|
||||
host.RunAndBlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user