mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Change postgres configuration in the producer to use the env vars from the stack
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using Producer.Models.Configuration;
|
||||
|
||||
namespace Producer.Services;
|
||||
|
||||
public class DapperDataStorage(ScrapeConfiguration configuration, RabbitMqConfiguration rabbitConfig, ILogger<DapperDataStorage> logger) : IDataStorage
|
||||
public class DapperDataStorage(PostgresConfiguration configuration, RabbitMqConfiguration rabbitConfig, ILogger<DapperDataStorage> logger) : IDataStorage
|
||||
{
|
||||
private const string InsertTorrentSql =
|
||||
"""
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace Producer.Services;
|
||||
using Producer.Models.Configuration;
|
||||
|
||||
namespace Producer.Services;
|
||||
|
||||
public class TorrentPublisher(
|
||||
ISendEndpointProvider sendEndpointProvider,
|
||||
|
||||
Reference in New Issue
Block a user