Skip to content

Commit

Permalink
Add ServiceStack.Jobs namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 25, 2024
1 parent e970386 commit 07e1850
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion AiServer/Configure.AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using ServiceStack.Data;
using ServiceStack.IO;
using ServiceStack.Jobs;
using ServiceStack.NativeTypes;
using ServiceStack.OrmLite;

[assembly: HostingStartup(typeof(AiServer.AppHost))]
Expand Down Expand Up @@ -150,7 +151,12 @@ public override void Configure()
MaxTokens = 50
};

#if DEBUG && !FALSE
ConfigurePlugin<NativeTypesFeature>(feature =>
{
feature.MetadataTypesConfig.DefaultNamespaces.Add(typeof(BackgroundJobBase).Namespace);
});

#if DEBUG && FALSE
Metadata.ForceInclude = [
typeof(AdminQueryApiKeys),
typeof(AdminCreateApiKey),
Expand Down

0 comments on commit 07e1850

Please sign in to comment.