io.configure no longer supported

io.configure no longer supported, replace with  the below code..
var io = require('socket.io')(app);
var socket = io({ 'close timeout': 60*60*24 });