|
Lines 95-101
Return the job_id of the newly created job.
Link Here
|
| 95 |
sub enqueue { |
95 |
sub enqueue { |
| 96 |
my ( $self, $params ) = @_; |
96 |
my ( $self, $params ) = @_; |
| 97 |
|
97 |
|
| 98 |
my $job_type = $self->job_type; |
98 |
my $job_type = $params->{job_type} // $self->job_type; # plugins should pass their own calculated value |
| 99 |
my $job_size = $params->{job_size}; |
99 |
my $job_size = $params->{job_size}; |
| 100 |
my $job_args = $params->{job_args}; |
100 |
my $job_args = $params->{job_args}; |
| 101 |
my $job_context = $params->{job_context} // C4::Context->userenv; |
101 |
my $job_context = $params->{job_context} // C4::Context->userenv; |
| 102 |
- |
|
|