Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Table of contents

  1. Utilities

Quick navigation

Unable to render {children}. Page not found: Utilities.

The _server_id

The attribut _server_id is a unique identifier of a Model but does change each time the SpinalHub restart.


On Model Creation, the Model will get it's final _server_id when the SpinalHub server "acknowledge" the Model,

for that the Model will go though several mutation:

process

1Creation of the Model.The _server_id doesn't exist yet
2The Model is pushed in an existing model or store as is. (Send an request to push the Model in the server)The _server_id is temporary and is socked in FileSystem._tmp_objects objet
3

The SpinalHub server "acknowledge" the Model and tell it to the Organ,

The _server_id is definite (until the next restart of the ServerHub) and is moved from the static attribut Object FileSystem._tmp_objects to the FileSystem._objects.
  • No labels