mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 21:50:53 +00:00
app_queue: Add feature to set wrapuptime on the queue member
This patch adds the ability to set the wrapuptime on the queue member config. When the option is set the wrapuptime on the queue member is used instead of the queue's wrapuptime. ASTERISK-27483 #close Change-Id: I11c85809537f974eb44dc5bbf82bcedd8a458902
This commit is contained in:
committed by
Richard Mudgett
parent
7b127e2d20
commit
5335ad117d
@@ -0,0 +1,22 @@
|
||||
"""add wrapuptime to queue_members
|
||||
|
||||
Revision ID: e2f04d309071
|
||||
Revises: 041c0d3d1857
|
||||
Create Date: 2017-12-07 08:32:45.360857
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'e2f04d309071'
|
||||
down_revision = '041c0d3d1857'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('queue_members', sa.Column('wrapuptime', sa.Integer))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('queue_members', 'wrapuptime')
|
||||
Reference in New Issue
Block a user