public MySqlJobQueueProvider(string connectionString, MySqlStorageOptions options)
            : base(connectionString)
        {
            options.Should().NotBeNull();
            _options = options;

            _jobQueue = new MySqlJobQueue(connectionString, _options);
            _monitoringApi = new MySqlJobQueueMonitoringApi(connectionString, _options);
        }
示例#2
0
        public MySqlJobQueueProvider(string connectionString, MySqlStorageOptions options)
            : base(connectionString)
        {
            options.Should().NotBeNull();
            _options = options;

            _jobQueue      = new MySqlJobQueue(connectionString, _options);
            _monitoringApi = new MySqlJobQueueMonitoringApi(connectionString, _options);
        }