mirror of
https://github.com/postmannen/ctrl.git
synced 2025-01-18 21:59:30 +00:00
removed no longer relevant todo's
This commit is contained in:
parent
cdf660aa07
commit
f80a57e1c2
3 changed files with 0 additions and 8 deletions
|
@ -847,7 +847,6 @@ func copyDstSubProcFunc(proc process, cia copyInitialData, message Message, canc
|
|||
proc.errorKernel.logDebug(er)
|
||||
|
||||
if _, err := os.Stat(cia.DstDir); os.IsNotExist(err) {
|
||||
// TODO: Add option to set permission here ???
|
||||
err := os.MkdirAll(cia.DstDir, fs.FileMode(cia.FolderPermission))
|
||||
if err != nil {
|
||||
return fmt.Errorf("error: failed to create destination directory for file copying %v: %v", cia.DstDir, err)
|
||||
|
|
|
@ -125,10 +125,6 @@ func methodKeysRequestUpdate(proc process, message Message, node string) ([]byte
|
|||
func methodKeysDeliverUpdate(proc process, message Message, node string) ([]byte, error) {
|
||||
// Get a context with the timeout specified in message.MethodTimeout.
|
||||
|
||||
// TODO:
|
||||
// - Since this is implemented as a NACK message we could implement a
|
||||
// metric thats shows the last time keys were updated.
|
||||
|
||||
ctx, _ := getContextForMethodTimeout(proc.ctx, message)
|
||||
|
||||
proc.processes.wg.Add(1)
|
||||
|
|
|
@ -495,9 +495,6 @@ func (s *server) routeMessagesToProcess() {
|
|||
for sam := range s.newMessagesCh {
|
||||
|
||||
go func(sam subjectAndMessage) {
|
||||
// TODO: Jetstream
|
||||
// Check if Jetstream stream are specified,
|
||||
// and send off to Jetstream publisher.
|
||||
|
||||
s.messageID.mu.Lock()
|
||||
s.messageID.id++
|
||||
|
|
Loading…
Add table
Reference in a new issue