Skip to content

Whenever unleash value is changes on portal it is not reflected in real time #10358

@Gauravpurohit409

Description

@Gauravpurohit409

Describe the bug

I implemented Unleash with the given

Ruby version: 3.1.3
Rails version: 7.0.8
Unleash version: 5.0.0

Configuration:

Unleash.configure do |config| config.url = Settings.unleash.url config.app_name = "#{Rails.application.class.module_parent_name}_#{Rails.env}" config.instance_id = Socket.gethostname config.logger = Rails.logger config.log_level = Logger::DEBUG # for development mode config.environment = Rails.env config.refresh_interval = 5 config.backup_file = backup_file_path config.disable_client = false config.disable_metrics = false config.timeout = 10 config.retry_limit = 3 config.custom_http_headers = { Authorization: "*******************************" } end

So whenever any change happens on panel, it is reflected in rails console(without restarting it), but in api it's value is not updated it remains as it, and I have to restart server to get it updated

Now this same flag is used in another node project in it restart is not required at all.

So Am i doing something wrong or this is an issue?

Steps to reproduce the bug

No response

Expected behavior

No response

Logs, error output, etc.

Screenshots

No response

Additional context

No response

Unleash version

No response

Subscription type

None

Hosting type

None

SDK information (language and version)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions