mirror of
https://github.com/servo/servo.git
synced 2025-06-16 12:24:29 +00:00
worker_id
type changed to uuid
Fixes #6631 `worker_id` is now generate as uuid and saved as string.
This commit is contained in:
parent
03a47c803c
commit
5c56e661ca
5 changed files with 11 additions and 10 deletions
|
@ -25,6 +25,7 @@ use msg::constellation_msg::PipelineId;
|
|||
use servo_url::ServoUrl;
|
||||
use std::net::TcpStream;
|
||||
use time::{self, Duration, Tm};
|
||||
//use uuid::Uuid;
|
||||
|
||||
// Information would be attached to NewGlobal to be received and show in devtools.
|
||||
// Extend these fields if we need more information.
|
||||
|
@ -356,5 +357,5 @@ impl PreciseTime {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub struct WorkerId(pub u32);
|
||||
#[derive(Clone, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub struct WorkerId(pub String);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue