Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/6936f042f53889539612c08ecb9d02a3a73bb568?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
18 additions and
8 deletions
@ -106,7 +106,7 @@ namespace NzbDrone.Core.Datastore
}
DataMapper . Insert ( model ) ;
_messageAggregator. PublishEvent( new ModelEvent<TModel > (model , ModelEvent< TModel > . RepositoryAction. Created ) ) ;
PublishModelEvent (model , RepositoryAction. Created ) ;
return model ;
}
@ -193,5 +193,11 @@ namespace NzbDrone.Core.Datastore
. Execute ( ) ;
}
protected virtual void PublishModelEvent ( TModel model , RepositoryAction action )
{
_messageAggregator . PublishEvent ( new ModelEvent < TModel > ( model , action ) ) ;
}
}
}
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Datastore.Events
Model = model ;
Action = action ;
}
}
public enum RepositoryAction
{
@ -21,7 +21,6 @@ namespace NzbDrone.Core.Datastore.Events
Updated = 2 ,
Deleted = 3
}
}
}
@ -23,5 +23,10 @@ namespace NzbDrone.Core.Instrumentation
var oldIds = Query . Where ( c = > c . Time < DateTime . Now . AddDays ( - 30 ) . Date ) . Select ( c = > c . Id ) ;
DeleteMany ( oldIds ) ;
}
protected override void PublishModelEvent ( Log model , Datastore . Events . RepositoryAction action )
{
//Don't publish log added events.
}
}
}