Skip to content

Default Background Job is not working as expected #25291

@ArcherTrister

Description

@ArcherTrister

Is there an existing issue for this?

  • I have searched the existing issues

Description

I have multiple services, each using the Default Background Job. All services share a single database for Background Jobs. After configuring according to the documentation, it d not work as expected: the ApplicationName field in the AbpBackgroundJobs table is always empty, and all Background Jobs are executed in the main application, causes errors when executing jobs for other services.

Reproduction Steps

Image

Add the same configuration to each service according to the description in the documentation.

Expected behavior

The value of the ApplicationName field in the AbpBackgroundJobs table is not null, and each service can execute its respective Background Job.

Actual behavior

Always execute Background Job in a service.

Regression?

No response

Known Workarounds

Configuration should be performed in the ConfigureServices method.

Version

9.3.7

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

macOS

Other information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions