Advertisement
TankorSmash

Untitled

Mar 14th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. (1:25:10 AM) tankorsmash@gmail.com/A47D0373: 1:30 in the am and I think I found the issue
  2. (1:27:23 AM) tankorsmash@gmail.com/A47D0373: so there's a few different places you can set the build config
  3. (1:27:39 AM) tankorsmash@gmail.com/A47D0373: and I was on release in the alt p p settings
  4. (1:27:51 AM) tankorsmash@gmail.com/A47D0373: but the build config manager was still on debug
  5. (1:28:01 AM) tankorsmash@gmail.com/A47D0373: so it was using the wrong webconfig
  6. (1:28:40 AM) tankorsmash@gmail.com/A47D0373: so now I've pubbed and gotten the expected Time out error
  7. (1:31:33 AM) tankorsmash@gmail.com/A47D0373: oh yeah, and that was the thing we're doing wrong with our workflow
  8. (1:31:43 AM) tankorsmash@gmail.com/A47D0373: we keep maintaining like non master branches
  9. (1:31:50 AM) tankorsmash@gmail.com/A47D0373: we should be merging and deleting them asap
  10. (1:31:58 AM) tankorsmash@gmail.com/A47D0373: and then branching of merge and continuting
  11. (1:35:17 AM) tankorsmash@gmail.com/A47D0373: oh yeah we def have to limit the site of the stuff printed to screen
  12. (1:35:21 AM) tankorsmash@gmail.com/A47D0373: in the trace log
  13. (1:35:30 AM) tankorsmash@gmail.com/A47D0373: cause chrome just about crashes on mine
  14. (1:43:55 AM) tankorsmash@gmail.com/A47D0373: k did it
  15. (1:45:07 AM) tankorsmash@gmail.com/A47D0373: it's now a param you can pass to /logfile, called LinesToShow that you can set, default 1000, that has the lines that'll get printed out
  16. (1:45:31 AM) tankorsmash@gmail.com/A47D0373: has logic in place to confirm the number isn't too high
  17. (1:45:36 AM) tankorsmash@gmail.com/A47D0373: but not too low
  18. (1:46:28 AM) tankorsmash@gmail.com/A47D0373: but we'll run into the memory issue when we get a long log file. right now it's just a temporary fix
  19. (1:46:42 AM) tankorsmash@gmail.com/A47D0373: might have to auto-cull the tracelog every day or something
  20. (1:46:43 AM) tankorsmash@gmail.com/A47D0373: idk
  21. (1:50:21 AM) tankorsmash@gmail.com/A47D0373: to see the changes https://github.com/tankorsmash/NextFlickMVC4_Git/blob/basebuilding/NextFlicksMVC4/Controllers/Admin/AdminController.cs#L31
  22. (1:51:01 AM) tankorsmash@gmail.com/A47D0373: changed it a little, hope you like it. Since it's your code, feel free to make any variable name chnages or whatever you feel is an improvement
  23. (1:51:05 AM) tankorsmash@gmail.com/A47D0373: sorta just butted in there
  24. (1:52:32 AM) tankorsmash@gmail.com/A47D0373: debating on whether we should have a timestamp on all the traces
  25. (1:52:35 AM) tankorsmash@gmail.com/A47D0373: its easy to do
  26. (1:56:08 AM) tankorsmash@gmail.com/A47D0373: oh, so it's more than just creating the dbcontext in /movies that times it out
  27. (1:57:00 AM) tankorsmash@gmail.com/A47D0373: but why would it time out...
  28. (2:09:30 AM) tankorsmash@gmail.com/A47D0373: also the thing where ineed to go to /movies before /admin/logfile is happening
  29. (2:09:37 AM) tankorsmash@gmail.com/A47D0373: so it needs the right attrib right?
  30. (2:10:49 AM) tankorsmash@gmail.com/A47D0373: I think it's this part that's causing trouble
  31. (2:10:49 AM) tankorsmash@gmail.com/A47D0373: string[] all_tvratings = (from fmv in tvrating_res select fmv.Movie.tv_rating).Distinct() .OrderBy( item => item) .ToArray();
  32. (2:11:31 AM) tankorsmash@gmail.com/A47D0373: string[] all_tvratings = (from fmv in tvrating_res
  33. select fmv.Movie.tv_rating).Distinct()
  34. .OrderBy(item =>
  35. item).ToArray();
  36. (2:12:35 AM) tankorsmash@gmail.com/A47D0373: its taking the FMV from Tools.GetFullDbQuery, like normal, and finding the two dozen or so movie ratings and turning them into a string array
  37. (2:12:38 AM) tankorsmash@gmail.com/A47D0373: should be easy
  38. (2:17:19 AM) tankorsmash@gmail.com/A47D0373: passing a new DbContext to a few of the things didn't make a different
  39. (2:17:26 AM) tankorsmash@gmail.com/A47D0373: alright, too sleepy now, good night!
  40. (2:17:48 AM) tankorsmash@gmail.com/A47D0373: do whatever you want with the server until I get up, nothing to special is on there
  41. (6:40:55 AM) Joshua Tilson: y'all good on the log file display, i knew i woudl need to do somehtign i just wqante osmehtign down and dirty for debugging on the server
  42. (7:13:45 AM) Joshua Tilson: you think maybe its a memory thing? its trying to load too muchf rom the database at one time? somethign like tha maybe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement