• Fixed a bug where the onboarding wouldn't be considered complete after successfully retrieving a displayName when restoring an account
• Fixed a couple of libSession networking bugs
• Tweaked some logging
• Removed some legacy code
@ -188,11 +194,11 @@ public enum MessageSendJob: JobExecutor {
receiveCompletion:{resultin
switchresult{
case.finished:
Log.info("[MessageSendJob] Completed sending \(type(of:details.message)) after \(.seconds(dependencies.dateNow.timeIntervalSince1970-startTime),unit:.s).")
Log.info("[MessageSendJob] Completed sending \(messageType) after \(.seconds(dependencies.dateNow.timeIntervalSince1970-startTime),unit:.s).")
success(job,false,dependencies)
case.failure(leterror):
Log.info("[MessageSendJob] Failed to send \(type(of:details.message)) after \(.seconds(dependencies.dateNow.timeIntervalSince1970-startTime),unit:.s) due to error: \(error).")
Log.info("[MessageSendJob] Failed to send \(messageType) after \(.seconds(dependencies.dateNow.timeIntervalSince1970-startTime),unit:.s) due to error: \(error).")
SNLog("[JobRunner] \(queueContext) Removing \(nextJob.variant) job due to missing dependencies")
SNLog("[JobRunner] \(queueContext) Removing \(nextJob) due to missing dependencies")
handleJobFailed(
nextJob,
error:JobRunnerError.missingDependencies,
@ -1430,7 +1430,7 @@ public final class JobQueue: Hashable {
return
}
guarddependencyInfo.jobs.isEmptyelse{
SNLog("[JobRunner] \(queueContext) Deferring \(nextJob.variant) job until \(dependencyInfo.jobs.count) dependenc\(dependencyInfo.jobs.count==1?"y":"ies") are completed")
SNLog("[JobRunner] \(queueContext) Deferring \(nextJob) until \(dependencyInfo.jobs.count) dependencies are completed")
@ -1467,7 +1467,7 @@ public final class JobQueue: Hashable {
)
)
}
SNLog("[JobRunner] \(queueContext) started \(nextJob.variant) job (\(executionType==.concurrent?"\(numJobsRunning) currently running, ":"")\(numJobsRemaining) remaining)")
SNLog("[JobRunner] \(queueContext) started \(nextJob) (\(executionType==.concurrent?"\(numJobsRunning) currently running, ":"")\(numJobsRemaining) remaining)")
jobExecutor.run(
nextJob,
@ -1642,7 +1642,7 @@ public final class JobQueue: Hashable {