mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
22 lines
447 B
C#
22 lines
447 B
C#
using Microsoft.Azure.WebJobs;
|
|
|
|
namespace Bit.EventsProcessor
|
|
{
|
|
public class Program
|
|
{
|
|
private static void Main()
|
|
{
|
|
var config = new JobHostConfiguration();
|
|
if(config.IsDevelopment)
|
|
{
|
|
config.UseDevelopmentSettings();
|
|
}
|
|
|
|
config.Queues.BatchSize = 5;
|
|
|
|
var host = new JobHost(config);
|
|
host.RunAndBlock();
|
|
}
|
|
}
|
|
}
|