mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Revert "pjsip: Move from threadpool to taskpool"
This reverts commit bb6b76c2d8.
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
"""add taskpool options to system
|
||||
|
||||
Revision ID: dc7c357dc178
|
||||
Revises: abdc9ede147d
|
||||
Create Date: 2025-09-24 09:45:17.609185
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'dc7c357dc178'
|
||||
down_revision = 'abdc9ede147d'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ps_systems', sa.Column('taskpool_minimum_size', sa.Integer))
|
||||
op.add_column('ps_systems', sa.Column('taskpool_initial_size', sa.Integer))
|
||||
op.add_column('ps_systems', sa.Column('taskpool_auto_increment', sa.Integer))
|
||||
op.add_column('ps_systems', sa.Column('taskpool_idle_timeout', sa.Integer))
|
||||
op.add_column('ps_systems', sa.Column('taskpool_max_size', sa.Integer))
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ps_systems', 'taskpool_minimum_size')
|
||||
op.drop_column('ps_systems', 'taskpool_initial_size')
|
||||
op.drop_column('ps_systems', 'taskpool_auto_increment')
|
||||
op.drop_column('ps_systems', 'taskpool_idle_timeout')
|
||||
op.drop_column('ps_systems', 'taskpool_max_size')
|
||||
Reference in New Issue
Block a user