Skip to content

custom models reloaded too often (Trac #624) #756

@pkienzle

Description

@pkienzle

Every custom model is being reloaded each time any model is updated.

To see this, uncomment line 117 of sasview_model.py (in load_custom_model), then use the model editor.

This is a minor performance issue, leading to lots of bloat in the plugins.log file if there are any errors in the models.

Migrated from http://trac.sasview.org/ticket/624

{
    "status": "closed",
    "changetime": "2016-10-09T15:09:59",
    "_ts": "2016-10-09 15:09:59.178511+00:00",
    "description": "Every custom model is being reloaded each time any model is updated.\n\nTo see this, uncomment line 117 of sasview_model.py (in load_custom_model), then use the model editor.\n\nThis is a minor performance issue, leading to lots of bloat in the plugins.log file if there are any errors in the models.",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-08-19T14:42:47",
    "component": "SasView",
    "summary": "custom models reloaded too often",
    "priority": "critical",
    "keywords": "",
    "milestone": "SasView 4.1.0",
    "owner": "wojciech",
    "type": "defect"
}

Metadata

Metadata

Assignees

Labels

CriticalHigh priorityDefectBug or undesirable behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions